aboutsummaryrefslogtreecommitdiffstats
path: root/main/gcc/fix-cxxflags-for-target.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-09-06 11:24:41 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-09-10 09:12:29 +0000
commitea0af854b52e5d2b44e6af094572e6ae38d1ba5a (patch)
tree9980f07181336553da3ae7452b7a69a41750f5fe /main/gcc/fix-cxxflags-for-target.patch
parent6a32c55e54342aadd5b4d4319ab084d34913e16b (diff)
downloadaports-ea0af854b52e5d2b44e6af094572e6ae38d1ba5a.tar.bz2
aports-ea0af854b52e5d2b44e6af094572e6ae38d1ba5a.tar.xz
main/gcc: fixes, support crosscompiler creation
- implement cross compiler creation - fix musl build - fix cross-building - fix ada to default to shared linking - fix gcc-gnat dependencies
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