From 6f8241409a727b785a5fe253e5d3dd0438b54a0a Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 23 Nov 1994 03:29:37 +0000 Subject: ($(target)): Use normal linking with -Wl,-( $+ -Wl,-). --- Makeconf | 10 +--------- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3