aboutsummaryrefslogtreecommitdiffstats
path: root/main/gcc/fix-cxxflags-for-target.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/gcc/fix-cxxflags-for-target.patch')
-rw-r--r--main/gcc/fix-cxxflags-for-target.patch5
1 files changed, 5 insertions, 0 deletions
diff --git a/main/gcc/fix-cxxflags-for-target.patch b/main/gcc/fix-cxxflags-for-target.patch
new file mode 100644
index 0000000000..24dafe74be
--- /dev/null
+++ b/main/gcc/fix-cxxflags-for-target.patch
@@ -0,0 +1,5 @@
+--- gcc-4.8.1/config/mt-gnu.orig
++++ gcc-4.8.1/config/mt-gnu
+@@ -1 +1 @@
+-CXXFLAGS_FOR_TARGET = $(CXXFLAGS) -D_GNU_SOURCE
++CXXFLAGS_FOR_TARGET := $(CXXFLAGS_FOR_TARGET) -D_GNU_SOURCE