[toolchain] gcc: fix 4.1.2 ICE on mips (see http://gcc.gnu.org/bugzilla/show_bug...
[openwrt-10.03/.git] / toolchain / uClibc / patches-0.9.29 / 130-compile_fixes.patch
1 --- a/libc/string/mips/sysdep.h
2 +++ b/libc/string/mips/sysdep.h
3 @@ -29,7 +29,7 @@
4    .globl name;                                                                \
5    .align 2;                                                                   \
6    .ent name,0;                                                                \
7 -  name##:
8 +  name:
9  
10  #undef END
11  #define END(function)                                   \
12 --- a/Rules.mak
13 +++ b/Rules.mak
14 @@ -399,7 +399,7 @@ ifneq ($(HAVE_SHARED),y)
15  CFLAGS += -DSTATIC
16  endif
17  
18 -CFLAGS += $(call check_gcc,-std=gnu99,)
19 +# CFLAGS += $(call check_gcc,-std=gnu99,)
20  
21  LDFLAGS_NOSTRIP:=$(CPU_LDFLAGS-y) -shared --warn-common --warn-once -z combreloc
22  # binutils-2.16.1 warns about ignored sections, 2.16.91.0.3 and newer are ok