crosstool-ng/patches/uClibc/0.9.30.2/130-gnu89-inline.patch

17 lines
496 B
Diff
Raw Normal View History

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) -shared \
-Wl,--warn-common -Wl,--warn-once -Wl,-z,combreloc