mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-26 07:51:06 +00:00
a1e353193f
/trunk/patches/uClibc/0.9.30.1/140-gnu89-inline.patch | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
17 lines
500 B
Diff
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
|