diff options
-rw-r--r-- | Makeconf | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |