aboutsummaryrefslogtreecommitdiffstats
path: root/main/gcc/fix-cxxflags-for-target.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-09-23 11:47:08 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-09-23 11:57:24 +0000
commit0dceb86c0b230eb083bc86711a57e9abd1b459f3 (patch)
tree6bb1372ca2fe1912861cea0b54bcc37952c3ab96 /main/gcc/fix-cxxflags-for-target.patch
parentd61fa697f573aeec58efbebee57c4654ffc4750a (diff)
downloadaports-0dceb86c0b230eb083bc86711a57e9abd1b459f3.tar.bz2
aports-0dceb86c0b230eb083bc86711a57e9abd1b459f3.tar.xz
main/gcc: implement crosscompiler creation and crossbuilding, musl fixes
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