summaryrefslogtreecommitdiff
path: root/package/gcc/patches/4.7.3/gcc-cppflags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/gcc/patches/4.7.3/gcc-cppflags.patch')
-rw-r--r--package/gcc/patches/4.7.3/gcc-cppflags.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/gcc/patches/4.7.3/gcc-cppflags.patch b/package/gcc/patches/4.7.3/gcc-cppflags.patch
new file mode 100644
index 000000000..0971bbec9
--- /dev/null
+++ b/package/gcc/patches/4.7.3/gcc-cppflags.patch
@@ -0,0 +1,12 @@
+diff -Nur gcc-4.4.4.orig/gcc/configure gcc-4.4.4/gcc/configure
+--- gcc-4.4.4.orig/gcc/configure 2009-10-19 14:15:27.000000000 +0200
++++ gcc-4.4.4/gcc/configure 2010-08-02 00:47:36.823620346 +0200
+@@ -13530,7 +13530,7 @@
+ esac
+ saved_CFLAGS="${CFLAGS}"
+ CC="${CC_FOR_BUILD}" CFLAGS="${CFLAGS_FOR_BUILD}" \
+- LDFLAGS="${LDFLAGS_FOR_BUILD}" \
++ LDFLAGS="${LDFLAGS_FOR_BUILD}" CPPFLAGS="${CPPFLAGS_FOR_BUILD}" \
+ ${realsrcdir}/configure \
+ --enable-languages=${enable_languages-all} \
+ --target=$target_alias --host=$build_alias --build=$build_alias