summaryrefslogtreecommitdiff
path: root/packages/gcc/gcc-4.2.4/cppdefault_cross.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gcc/gcc-4.2.4/cppdefault_cross.patch')
-rw-r--r--packages/gcc/gcc-4.2.4/cppdefault_cross.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/gcc/gcc-4.2.4/cppdefault_cross.patch b/packages/gcc/gcc-4.2.4/cppdefault_cross.patch
new file mode 100644
index 0000000000..dfdbeb32cf
--- /dev/null
+++ b/packages/gcc/gcc-4.2.4/cppdefault_cross.patch
@@ -0,0 +1,12 @@
+Index: gcc-4.2.4/gcc/cppdefault.c
+===================================================================
+--- gcc-4.2.4.orig/gcc/cppdefault.c 2008-10-04 00:07:13.161548578 +0200
++++ gcc-4.2.4/gcc/cppdefault.c 2008-10-04 00:07:32.548205652 +0200
+@@ -39,6 +39,7 @@
+ # undef STANDARD_INCLUDE_DIR
+ #else
+ # undef CROSS_INCLUDE_DIR
++# undef STANDARD_INCLUDE_DIR
+ #endif
+
+ const struct default_include cpp_include_defaults[]