From 9be7403e325ecbeb68c9674362688c8c3bfcb91e Mon Sep 17 00:00:00 2001
From: Waldemar Brodkorb <wbx@openadk.org>
Date: Wed, 4 Sep 2013 17:29:37 +0200
Subject: update musl libc

---
 toolchain/musl/patches/0.9.12/libgcc.patch | 12 ------------
 toolchain/musl/patches/0.9.13/libgcc.patch | 12 ++++++++++++
 2 files changed, 12 insertions(+), 12 deletions(-)
 delete mode 100644 toolchain/musl/patches/0.9.12/libgcc.patch
 create mode 100644 toolchain/musl/patches/0.9.13/libgcc.patch

(limited to 'toolchain/musl/patches')

diff --git a/toolchain/musl/patches/0.9.12/libgcc.patch b/toolchain/musl/patches/0.9.12/libgcc.patch
deleted file mode 100644
index d382ef1fa..000000000
--- a/toolchain/musl/patches/0.9.12/libgcc.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-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)
- 
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)
+ 
-- 
cgit v1.2.3