summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-08-23 13:36:06 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-08-23 13:36:06 +0000
commit2cb0743ac7501c6819194034799e86e10038b384 (patch)
tree288c5ece241bbc58d93c16e5824aded2dc096607
parent24fabe2d8fe07b3190eafcbcc00fbff2c0a78158 (diff)
Formerly Makeconf.~60~
-rw-r--r--Makeconf4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makeconf b/Makeconf
index ecda97b4..d0edaee2 100644
--- a/Makeconf
+++ b/Makeconf
@@ -148,13 +148,13 @@ install:
# Each word of $(HURDLIBS) is a library name `libfoo', which is defined as
# a variable above with the complete file name to find it.
+# Yippee! A use for computed variable references!
HURDLIBS-files := $(foreach var,$(HURDLIBS),$($(var)))
#HURDLIBS-libs := $(foreach lib,$(HURDLIBS-files), \
# -L$(dir $(lib)) \
# $(patsubst lib%.a,-l%,$(notdir $(lib))))
# Building the target
-# Yippee! A use for computed variable references!
ifeq ($(doinst),one)
$(target): $(OBJS) $(HURDLIBS-files) $(OTHERLIBS) $(libc)
$(CC) $(CFLAGS) $(LDFLAGS) -o $(target) $(link-objects)
@@ -163,7 +163,7 @@ $(target): $(OBJS) $(HURDLIBS-files) $(OTHERLIBS) $(libc)
# -lg avoids "No input files" error.
link-objects = -nostdlib -Wl,$(subst $(empty) ,$(comma),$(strip \
$(startup) $(OBJS) -\( $(HURDLIBS-files) $(OTHERLIBS) -\) \
- -\( $(sort $(libc)) -lgcc -\))) -lg -v
+ -\( $(sort $(libc)) -lgcc -\))) -lg
empty =
comma = ,
endif