summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 23c76bb90..fa943e6fc 100644
--- a/Makefile
+++ b/Makefile
@@ -46,6 +46,7 @@ shared: libc.a
@rm -rf tmp
@mkdir tmp
@(cd tmp; ar -x ../libc.a)
+ @(cd tmp; CC=$(CC) /bin/sh ../extra/scripts/get-needed-libgcc-objects.sh)
$(CC) -s -nostdlib -shared -o libuClibc.so.1 -Wl,-soname,libuClibc.so.1 tmp/*.o
@rm -rf tmp