summaryrefslogtreecommitdiff
path: root/toolchain/musl/patches/0.9.13
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-09-04 17:29:37 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-09-04 17:29:37 +0200
commit9be7403e325ecbeb68c9674362688c8c3bfcb91e (patch)
tree1e51dc0ce6a686d1725d8b6835c15262f02715b3 /toolchain/musl/patches/0.9.13
parent29df7026088c973b5ba99b48f93b10006e5c0e4c (diff)
update musl libc
Diffstat (limited to 'toolchain/musl/patches/0.9.13')
-rw-r--r--toolchain/musl/patches/0.9.13/libgcc.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/toolchain/musl/patches/0.9.13/libgcc.patch b/toolchain/musl/patches/0.9.13/libgcc.patch
new file mode 100644
index 000000000..d382ef1fa
--- /dev/null
+++ b/toolchain/musl/patches/0.9.13/libgcc.patch
@@ -0,0 +1,12 @@
+diff -Nur musl-0.9.12.orig/Makefile musl-0.9.12/Makefile
+--- musl-0.9.12.orig/Makefile 2013-07-29 09:20:33.000000000 +0200
++++ musl-0.9.12/Makefile 2013-08-17 16:10:10.000000000 +0200
+@@ -100,7 +100,7 @@
+ $(CC) $(CFLAGS_ALL_SHARED) -c -o $@ $<
+
+ lib/libc.so: $(LOBJS)
+- $(CC) $(CFLAGS_ALL_SHARED) $(LDFLAGS) -nostdlib -shared \
++ $(CC) $(CFLAGS_ALL_SHARED) $(LDFLAGS) -static-libgcc -nostdlib -shared \
+ -Wl,-e,_start -Wl,-Bsymbolic-functions \
+ -o $@ $(LOBJS) $(LIBCC)
+