summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1994-11-23 03:29:37 +0000
committerRoland McGrath <roland@gnu.org>1994-11-23 03:29:37 +0000
commit6f8241409a727b785a5fe253e5d3dd0438b54a0a (patch)
tree6acc2859980ef3ad032d0b392d0b489e88d841c0
parent88f16d99771f89481fc17abaebb2a134d64aa777 (diff)
($(target)): Use normal linking with -Wl,-( $+ -Wl,-).
-rw-r--r--Makeconf10
1 files changed, 1 insertions, 9 deletions
diff --git a/Makeconf b/Makeconf
index 444484bd..a23910c5 100644
--- a/Makeconf
+++ b/Makeconf
@@ -159,15 +159,7 @@ HURDLIBS-files := $(foreach var,$(HURDLIBS),$($(var)))
# Building the target
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)
-# -lg avoids "No input files" error.
-link-objects = -nostdlib -Wl,$(subst $(empty) ,$(comma),$(strip \
- $(startup) $(OBJS) -\( $(HURDLIBS-files) $(OTHERLIBS) -\))) \
- $(libc) $(ccdir)/libgcc.a -lg
-empty =
-comma = ,
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $(target) '-Wl,-(' $+ '-Wl,-)'
endif