summaryrefslogtreecommitdiff
path: root/Makeconf
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-03-07 23:28:36 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-03-07 23:28:36 +0000
commita750e43972a49986f8ff5dfe04c41faa054a9a3e (patch)
treeb53891da406ff68c551b3fd487a571b3559c34d4 /Makeconf
parent49d0176491d1ee0d90d5dc83e462396e76a1195b (diff)
Formerly Makeconf.~23~
Diffstat (limited to 'Makeconf')
-rw-r--r--Makeconf3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makeconf b/Makeconf
index 1bb6c23d..46ed0cff 100644
--- a/Makeconf
+++ b/Makeconf
@@ -22,6 +22,7 @@ libpager := $(hurdinst)/lib/libpager.a
libfshelp := $(hurdinst)/lib/libfshelp.a
libdiskfs := $(hurdinst)/lib/libdiskfs.a
gccheaders = /usr/local/lib/gcc-lib/$(CCTARGET)/$(CCVERSION)/include
+libgcc := /usr/local/lib/gcc-lib/$(CCTARGET)/$(CCVERSION)/libgcc.a
# Flags for compilation
CPPFLAGS := -nostdinc -I$(headers) -I$(gccheaders)
@@ -38,7 +39,7 @@ ldflags = $(addprefix -Xlinker ,$(LDFLAGS))
define link
$(CC) -nostdlib -e __start $(ldflags) -o $@ $(CFLAGS) $(startup) \
-$(OBJS) $(LIBS) $(libthreads) $(libc) -lgcc
+$(OBJS) $(LIBS) $(libthreads) $(libc) $(libgcc)
endef
# Making a snapshot