summaryrefslogtreecommitdiff
path: root/package/gcc/patches/4.7.3/cross-gcc-fix.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-01-08 12:58:54 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-01-08 12:58:54 +0100
commitf3e1c3cf993b0ba54afa0ff9552ffefd39828b23 (patch)
tree1f5d52b7dff4a5c60e17c8f0fd7f7412c946a0ee /package/gcc/patches/4.7.3/cross-gcc-fix.patch
parentd77656116191a166ed0477cf16830480a2406fc5 (diff)
parentd93c019f2cfdf53be59f02600cc25c547ba24edc (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/gcc/patches/4.7.3/cross-gcc-fix.patch')
-rw-r--r--package/gcc/patches/4.7.3/cross-gcc-fix.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/gcc/patches/4.7.3/cross-gcc-fix.patch b/package/gcc/patches/4.7.3/cross-gcc-fix.patch
new file mode 100644
index 000000000..f39b35fb9
--- /dev/null
+++ b/package/gcc/patches/4.7.3/cross-gcc-fix.patch
@@ -0,0 +1,13 @@
+diff -Nur gcc-4.4.2.orig/gcc/Makefile.in gcc-4.4.2/gcc/Makefile.in
+--- gcc-4.5.2.orig/gcc/Makefile.in 2010-09-02 15:05:30.000000000 +0200
++++ gcc-4.5.2/gcc/Makefile.in 2011-01-15 14:29:18.000000000 +0100
+@@ -980,7 +980,8 @@ ALL_CXXFLAGS = $(T_CFLAGS) $(CXXFLAGS) $
+ # Likewise. Put INCLUDES at the beginning: this way, if some autoconf macro
+ # puts -I options in CPPFLAGS, our include files in the srcdir will always
+ # win against random include files in /usr/include.
+-ALL_CPPFLAGS = $(INCLUDES) $(CPPFLAGS)
++#ALL_CPPFLAGS = $(INCLUDES) $(CPPFLAGS)
++ALL_CPPFLAGS = $(INCLUDES)
+
+ # This is the variable to use when using $(COMPILER).
+ ifneq ($(ENABLE_BUILD_WITH_CXX),yes)