summaryrefslogtreecommitdiff
path: root/toolchain/uClibc/patches-0.9.29/130-compile_fixes.patch
blob: 8a61291af8707ed4e99941a9c63ec93a0b0bd535 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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