summaryrefslogtreecommitdiff
path: root/patches/uClibc/0.9.30/140-gnu89-inline.patch
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-02-08 22:07:29 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-02-08 22:07:29 (GMT)
commitd1369f342b52d11c4d42891c0cece22fc64aeb5b (patch)
tree4d0c31722f9ce11d6630eea56106d26599b54381 /patches/uClibc/0.9.30/140-gnu89-inline.patch
parent2177fb68ca226c01ffab26d2770da38583230a20 (diff)
Add patchset for uClibc-0.9.30 (from Gentoo).
/trunk/patches/uClibc/0.9.30/110-arm_fix_alignment.patch | 23 23 0 0 +++ /trunk/patches/uClibc/0.9.30/130-arm-ftruncate64.patch | 17 17 0 0 ++ /trunk/patches/uClibc/0.9.30/100-fix-gethostent_r-failure-retval.patch | 17 17 0 0 ++ /trunk/patches/uClibc/0.9.30/120-rm-whitespace.patch | 88 88 0 0 ++++++++++ /trunk/patches/uClibc/0.9.30/140-gnu89-inline.patch | 16 16 0 0 ++ 5 files changed, 161 insertions(+)
Diffstat (limited to 'patches/uClibc/0.9.30/140-gnu89-inline.patch')
-rw-r--r--patches/uClibc/0.9.30/140-gnu89-inline.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/patches/uClibc/0.9.30/140-gnu89-inline.patch b/patches/uClibc/0.9.30/140-gnu89-inline.patch
new file mode 100644
index 0000000..02fe3e5
--- /dev/null
+++ b/patches/uClibc/0.9.30/140-gnu89-inline.patch
@@ -0,0 +1,16 @@
+Original patch from Gentoo.
+
+-= BEGIN original header =-
+-= END original header =-
+
+diff -durN uClibc-0.9.30.orig/Rules.mak uClibc-0.9.30/Rules.mak
+--- uClibc-0.9.30.orig/Rules.mak 2008-11-12 13:24:16.000000000 +0100
++++ uClibc-0.9.30/Rules.mak 2009-02-07 09:57:59.000000000 +0100
+@@ -502,6 +502,7 @@
+ endif
+
+ CFLAGS += $(call check_gcc,-std=gnu99,)
++CFLAGS += $(call check_gcc,-fgnu89-inline,)
+
+ LDFLAGS_NOSTRIP:=$(CPU_LDFLAGS-y) -Wl,-shared \
+ -Wl,--warn-common -Wl,--warn-once -Wl,-z,combreloc