patches/uClibc/0.9.30.1/140-gnu89-inline.patch
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Tue Jul 31 22:27:29 2012 +0200 (2012-07-31)
changeset 3018 7776e8369284
parent 1248 5402327d22fa
permissions -rw-r--r--
complibs/cloog: create missing m4 dir

Because we now patch configure.in and configure, the Makefile quicks
in a re-build rule as the source files are now more recent than the
bundled generated files, and that fails because the m4 directory
is missing, although on some systems where aclocal is not installed,
the re-build rule does nothing (except a warning).

Always create tht directory.

Reported-by: Per Arnold Blaasmo <per-arnold.blaasmo@atmel.com>
[Also thanks to Thomas De Schampheleire <patrickdepinguin@gmail.com>
for some digging works on this issue]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
yann@1248
     1
Original patch from Gentoo.
yann@1248
     2
yann@1248
     3
-= BEGIN original header =-
yann@1248
     4
-= END original header =-
yann@1248
     5
yann@1248
     6
diff -durN uClibc-0.9.30.orig/Rules.mak uClibc-0.9.30/Rules.mak
yann@1248
     7
--- uClibc-0.9.30.orig/Rules.mak	2008-11-12 13:24:16.000000000 +0100
yann@1248
     8
+++ uClibc-0.9.30/Rules.mak	2009-02-07 09:57:59.000000000 +0100
yann@1279
     9
@@ -519,6 +519,7 @@
yann@1248
    10
 endif
yann@1248
    11
 
yann@1248
    12
 CFLAGS += $(call check_gcc,-std=gnu99,)
yann@1248
    13
+CFLAGS += $(call check_gcc,-fgnu89-inline,)
yann@1248
    14
 
yann@1248
    15
 LDFLAGS_NOSTRIP:=$(CPU_LDFLAGS-y) -Wl,-shared \
yann@1248
    16
 	-Wl,--warn-common -Wl,--warn-once -Wl,-z,combreloc