summaryrefslogtreecommitdiff
path: root/Makeconf
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-04-05 19:10:30 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-04-05 19:10:30 +0000
commit474b2b5ebc91dc6560b8aa6d8833cf6a9aec7929 (patch)
tree87d1e8d6d5abd32b9c7e6d18b1a52c6a9cee636c /Makeconf
parent3cd216c5ea59b3cd315cf03858661a54b8e91516 (diff)
Formerly Makeconf.~34~
Diffstat (limited to 'Makeconf')
-rw-r--r--Makeconf4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makeconf b/Makeconf
index 33ca8d7e..1e589f29 100644
--- a/Makeconf
+++ b/Makeconf
@@ -32,7 +32,7 @@ libdiskfs := $(hurdinst)/lib/libdiskfs.a
include $(hurdsource)/Maketools
gccheaders = /usr/local/lib/gcc-lib/$(CCTARGET)/$(CCVERSION)/include
-libgcc := -lgcc
+libgcc := /usr/local/lib/gcc-lib/$(CCTARGET)/$(CCVERSION)/libgcc.a
# Flags for compilation
CPPFLAGS := -nostdinc -I$(headers) -I$(gccheaders)
@@ -45,7 +45,7 @@ ldflags = $(addprefix -Xlinker ,$(LDFLAGS))
# $(link) uses threads to get malloc until the one in the library is fixed.
define link
-$(CC) -nostdlib -e __start $(ldflags) -o $@ $(CFLAGS) $(startup) \
+$(LD) -e __start $(LDFLAGS) -o $@ $(startup) \
$(OBJS) $(LIBS) $(libthreads) $(libc) $(libgcc)
endef