crosstool-ng/patches/uClibc/0.9.30.1/140-gnu89-inline.patch
Yann E. MORIN" a1e353193f Fix offset in uClibc patch.
/trunk/patches/uClibc/0.9.30.1/140-gnu89-inline.patch |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2009-03-30 20:17:46 +00:00

17 lines
500 B
Diff

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
@@ -519,6 +519,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