summaryrefslogtreecommitdiff
path: root/libc/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-11-05 05:41:33 +0000
committerEric Andersen <andersen@codepoet.org>2002-11-05 05:41:33 +0000
commit5e9cfa20d4185addfc6c53a6b4e3efbeb6dbb98f (patch)
tree0e2e69488d773536960fad4517591ddec9e42cc4 /libc/Makefile
parent3216db7c3b4e6f8271ee0857819ae6f35ca05e0c (diff)
Patch from Stefan Allius -- export LIBGCC
Diffstat (limited to 'libc/Makefile')
-rw-r--r--libc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/Makefile b/libc/Makefile
index 1809779d6..f5ee035fa 100644
--- a/libc/Makefile
+++ b/libc/Makefile
@@ -49,7 +49,7 @@ shared: $(TOPDIR)lib/$(LIBNAME)
@rm -rf tmp
@mkdir tmp
$(AR) rv ./tmp/libgcc-need.a
- @(cd tmp && CC=$(CC) LD=$(LD) NM=$(NM) AR=$(AR) \
+ @(cd tmp && CC=$(CC) LD=$(LD) NM=$(NM) AR=$(AR) LIBGCC=$(LIBGCC) \
/bin/sh $(TOPDIR)../extra/scripts/get-needed-libgcc-objects.sh)
$(LD) $(LDFLAGS) $(VERSION_SCRIPT) -soname=$(SHARED_MAJORNAME) -o $(SHARED_FULLNAME) \
--whole-archive ./tmp/libgcc-need.a $(LIBNAME) --no-whole-archive \