diff options
author | Michael I. Bushnell <mib@gnu.org> | 1994-08-16 18:12:16 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1994-08-16 18:12:16 +0000 |
commit | 5334740f6224bae039996e78cae025bc18c488b3 (patch) | |
tree | 91bacca6c176f1ca441068d63ad64f883714e10c /Makeconf | |
parent | 3e8ba30c0942c3e7b28152df950d0a855090cf4c (diff) |
Formerly Makeconf.~56~
Diffstat (limited to 'Makeconf')
-rw-r--r-- | Makeconf | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -158,11 +158,13 @@ HURDLIBS-files := $(foreach var,$(HURDLIBS),$($(var))) ifeq ($(doinst),one) $(target): $(OBJS) $(HURDLIBS-files) $(OTHERLIBS) $(libc) $(CC) $(CFLAGS) $(LDFLAGS) -o $(target) $(link-objects) -#link-objects = $(filter-out $(libc),$^) +# Don't use $^ to collect the args to the link because $^ gratuitously +# omits duplicates. +link-objects = $(OBJS) $(HURDLIBS-files) $(OTHERLIBS) # -lg avoids "No input files" error. -link-objects = -nostdlib -Wl,$(subst $(empty) ,$(comma),\ - $(startup) -\( $(filter-out $(libc),$^) -\) \ - -\( $(sort $(libc)) -lgcc -\)) -lg -v +#link-objects = -nostdlib -Wl,$(subst $(empty) ,$(comma),\ +# $(startup) -\( $(OBJS) $(HURDLIBS-filess) $(OTHERLIBS) -\) \ +# -\( $(sort $(libc)) -lgcc -\)) -lg -v empty = comma = , endif |