patches/uClibc/0.9.30.2/130-gnu89-inline.patch
author |
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> |
|
Fri Jan 28 22:06:49 2011 +0100 (2011-01-28) |
changeset 2284 |
7ede374110e5 |
parent 1737 |
e034c377c89d
|
permissions |
-rw-r--r-- |
config: add an option not to remove the destination directory
In certain circumstances, removing the destination/installation directory
is a bad idea. For example, when the build environment is already taking
care of sanitising the build tree, and pre-installs stuff in there, it is
a very bad idea to remove the destination directory.
This happens now in buildroot, as the crostool-NG backend now installs the
toolchain in the common host-tools directory, and pre-install there a few
host-utilities (eg. host-automake and host-gawk).
Provide a config knob to turn on/off the removal of the destination
directory, defaulting to 'y' (previous behavior), and forced to 'n' when
used as a backend.
Reported-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
jocke@1737
|
1 |
Original patch from Gentoo.
|
jocke@1737
|
2 |
|
jocke@1737
|
3 |
-= BEGIN original header =-
|
jocke@1737
|
4 |
-= END original header =-
|
jocke@1737
|
5 |
|
jocke@1737
|
6 |
diff -durN uClibc-0.9.30.orig/Rules.mak uClibc-0.9.30/Rules.mak
|
jocke@1737
|
7 |
--- uClibc-0.9.30.orig/Rules.mak 2008-11-12 13:24:16.000000000 +0100
|
jocke@1737
|
8 |
+++ uClibc-0.9.30/Rules.mak 2009-02-07 09:57:59.000000000 +0100
|
jocke@1737
|
9 |
@@ -519,6 +519,7 @@
|
jocke@1737
|
10 |
endif
|
jocke@1737
|
11 |
|
jocke@1737
|
12 |
CFLAGS += $(call check_gcc,-std=gnu99,)
|
jocke@1737
|
13 |
+CFLAGS += $(call check_gcc,-fgnu89-inline,)
|
jocke@1737
|
14 |
|
jocke@1737
|
15 |
LDFLAGS_NOSTRIP:=$(CPU_LDFLAGS-y) -shared \
|
jocke@1737
|
16 |
-Wl,--warn-common -Wl,--warn-once -Wl,-z,combreloc
|