summaryrefslogtreecommitdiff
path: root/package/gcc/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-11-22 18:24:57 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2009-11-22 18:24:57 +0100
commit7eb57a4fac80b8c745f4ac811a07d134cc448d8a (patch)
tree7c5786cdee0c22cadf079670e69b45424701b290 /package/gcc/patches
parent9ae994b86d18e9d0baa680442e59724815bd872a (diff)
parentc111f14db1b4558ebf5b2e894315c8e5217bf6fc (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/gcc/patches')
-rw-r--r--package/gcc/patches/cross-gcc-fix.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/gcc/patches/cross-gcc-fix.patch b/package/gcc/patches/cross-gcc-fix.patch
new file mode 100644
index 000000000..9b5d55318
--- /dev/null
+++ b/package/gcc/patches/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.4.2.orig/gcc/Makefile.in 2009-07-25 19:53:35.000000000 +0200
++++ gcc-4.4.2/gcc/Makefile.in 2009-11-22 15:30:27.000000000 +0100
+@@ -898,7 +898,8 @@
+ # 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)
+
+ # Build and host support libraries.
+ LIBIBERTY = ../libiberty/libiberty.a