aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/uClibc/patches/130-compile_fixes.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-12-30 19:23:54 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-12-30 19:23:54 +0000
commit3c307b30a836d2c1a17af20ce205f572c1a75c65 (patch)
tree5e396107a63907293ea141d0e9961e99d0ce2ec0 /toolchain/uClibc/patches/130-compile_fixes.patch
parent7218186022a35fadf39259bf3644fce99529fc65 (diff)
downloadupstream-3c307b30a836d2c1a17af20ce205f572c1a75c65.tar.gz
upstream-3c307b30a836d2c1a17af20ce205f572c1a75c65.tar.bz2
upstream-3c307b30a836d2c1a17af20ce205f572c1a75c65.zip
fix uclibc compile on brcm-2.4
SVN-Revision: 10063
Diffstat (limited to 'toolchain/uClibc/patches/130-compile_fixes.patch')
-rw-r--r--toolchain/uClibc/patches/130-compile_fixes.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/toolchain/uClibc/patches/130-compile_fixes.patch b/toolchain/uClibc/patches/130-compile_fixes.patch
new file mode 100644
index 0000000000..7e32e329a1
--- /dev/null
+++ b/toolchain/uClibc/patches/130-compile_fixes.patch
@@ -0,0 +1,26 @@
+Index: uClibc-0.9.29/libc/string/mips/sysdep.h
+===================================================================
+--- uClibc-0.9.29.orig/libc/string/mips/sysdep.h 2007-12-30 20:10:30.969471579 +0100
++++ uClibc-0.9.29/libc/string/mips/sysdep.h 2007-12-30 20:10:37.717856150 +0100
+@@ -29,7 +29,7 @@
+ .globl name; \
+ .align 2; \
+ .ent name,0; \
+- name##:
++ name:
+
+ #undef END
+ #define END(function) \
+Index: uClibc-0.9.29/Rules.mak
+===================================================================
+--- uClibc-0.9.29.orig/Rules.mak 2007-12-30 20:22:54.727521234 +0100
++++ uClibc-0.9.29/Rules.mak 2007-12-30 20:23:05.320124876 +0100
+@@ -399,7 +399,7 @@
+ 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