diff options
Diffstat (limited to 'Makeconf')
-rw-r--r-- | Makeconf | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |