summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makeconf6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makeconf b/Makeconf
index c492fb03..ecda97b4 100644
--- a/Makeconf
+++ b/Makeconf
@@ -161,9 +161,9 @@ $(target): $(OBJS) $(HURDLIBS-files) $(OTHERLIBS) $(libc)
# Don't use $^ to collect the args to the link because $^ omits duplicates.
#link-objects = $(OBJS) $(HURDLIBS-files) $(OTHERLIBS)
# -lg avoids "No input files" error.
-link-objects = -nostdlib -Wl,$(subst $(empty) ,$(comma),\
- $(startup) -\( $(OBJS) $(HURDLIBS-files) $(OTHERLIBS) -\) \
- -\( $(sort $(libc)) -lgcc -\)) -lg -v
+link-objects = -nostdlib -Wl,$(subst $(empty) ,$(comma),$(strip \
+ $(startup) $(OBJS) -\( $(HURDLIBS-files) $(OTHERLIBS) -\) \
+ -\( $(sort $(libc)) -lgcc -\))) -lg -v
empty =
comma = ,
endif