diff options
-rw-r--r-- | Makeconf | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -159,11 +159,11 @@ ifeq ($(doinst),one) $(target): $(OBJS) $(HURDLIBS-files) $(OTHERLIBS) $(libc) $(CC) $(CFLAGS) $(LDFLAGS) -o $(target) $(link-objects) # Don't use $^ to collect the args to the link because $^ omits duplicates. -link-objects = $(OBJS) $(HURDLIBS-files) $(OTHERLIBS) +#link-objects = $(OBJS) $(HURDLIBS-files) $(OTHERLIBS) # -lg avoids "No input files" error. -#link-objects = -nostdlib -Wl,$(subst $(empty) ,$(comma),\ -# $(startup) -\( $(OBJS) $(HURDLIBS-filess) $(OTHERLIBS) -\) \ -# -\( $(sort $(libc)) -lgcc -\)) -lg -v +link-objects = -nostdlib -Wl,$(subst $(empty) ,$(comma),\ + $(startup) -\( $(OBJS) $(HURDLIBS-files) $(OTHERLIBS) -\) \ + -\( $(sort $(libc)) -lgcc -\)) -lg -v empty = comma = , endif |