summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
Diffstat (limited to 'libc')
-rw-r--r--libc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/Makefile b/libc/Makefile
index 83a53bf6a..778e21f7d 100644
--- a/libc/Makefile
+++ b/libc/Makefile
@@ -48,7 +48,7 @@ shared: $(TOPDIR)lib/$(LIBNAME)
/bin/sh ../../extra/scripts/get-needed-libgcc-objects.sh)
$(LD) $(LDFLAGS) -o $(SHARED_FULLNAME) -soname=$(SHARED_MAJORNAME) \
--dynamic-linker $(DYNAMIC_LINKER) --whole-archive $(LIBNAME) \
- ./tmp/libgcc-need.a $(LDSO)
+ ./tmp/libgcc-need.a -Bdynamic $(LDSO)
@/bin/true #rm -rf tmp
install -d $(TOPDIR)lib
rm -f $(TOPDIR)lib/$(SHARED_FULLNAME)