aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/uClibc/patches-0.9.29/130-compile_fixes.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-03-23 17:56:28 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-03-23 17:56:28 +0000
commit03205ec7407b379602abd8bb0c41c62fe28151f4 (patch)
tree76657f61fec7fb956d0f09834ab6947f3b8aa4a6 /toolchain/uClibc/patches-0.9.29/130-compile_fixes.patch
parentfc9181c4e25fa55aa13ff2b2960fe45d68080100 (diff)
downloadupstream-03205ec7407b379602abd8bb0c41c62fe28151f4.tar.gz
upstream-03205ec7407b379602abd8bb0c41c62fe28151f4.tar.bz2
upstream-03205ec7407b379602abd8bb0c41c62fe28151f4.zip
clean up uclibc patch/config version handling a bit
SVN-Revision: 14994
Diffstat (limited to 'toolchain/uClibc/patches-0.9.29/130-compile_fixes.patch')
-rw-r--r--toolchain/uClibc/patches-0.9.29/130-compile_fixes.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/toolchain/uClibc/patches-0.9.29/130-compile_fixes.patch b/toolchain/uClibc/patches-0.9.29/130-compile_fixes.patch
new file mode 100644
index 0000000000..8a61291af8
--- /dev/null
+++ b/toolchain/uClibc/patches-0.9.29/130-compile_fixes.patch
@@ -0,0 +1,22 @@
+--- a/libc/string/mips/sysdep.h
++++ b/libc/string/mips/sysdep.h
+@@ -29,7 +29,7 @@
+ .globl name; \
+ .align 2; \
+ .ent name,0; \
+- name##:
++ name:
+
+ #undef END
+ #define END(function) \
+--- a/Rules.mak
++++ b/Rules.mak
+@@ -399,7 +399,7 @@ ifneq ($(HAVE_SHARED),y)
+ CFLAGS += -DSTATIC
+ endif
+
+-CFLAGS += $(call check_gcc,-std=gnu99,)
++# CFLAGS += $(call check_gcc,-std=gnu99,)
+
+ LDFLAGS_NOSTRIP:=$(CPU_LDFLAGS-y) -shared --warn-common --warn-once -z combreloc
+ # binutils-2.16.1 warns about ignored sections, 2.16.91.0.3 and newer are ok