aboutsummaryrefslogtreecommitdiffstats
path: root/main/gcc/fix-cxxflags-passing.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-07-12 21:36:19 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-07-12 21:37:40 +0000
commit47c71fbe7583fa29f604f5010bc6218d3f5856e3 (patch)
tree194cf51075fcbf5ddff60465c8f5cc6ecd697a21 /main/gcc/fix-cxxflags-passing.patch
parent752ebe08e01fecb6b67db131fdd230717aaf4505 (diff)
downloadaports-47c71fbe7583fa29f604f5010bc6218d3f5856e3.tar.bz2
aports-47c71fbe7583fa29f604f5010bc6218d3f5856e3.tar.xz
main/gcc: fix crossbuild and musl support
Diffstat (limited to 'main/gcc/fix-cxxflags-passing.patch')
-rw-r--r--main/gcc/fix-cxxflags-passing.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/main/gcc/fix-cxxflags-passing.patch b/main/gcc/fix-cxxflags-passing.patch
new file mode 100644
index 0000000000..8eb1de77d5
--- /dev/null
+++ b/main/gcc/fix-cxxflags-passing.patch
@@ -0,0 +1,10 @@
+--- gcc-4.8.1/Makefile.in.orig
++++ gcc-4.8.1/Makefile.in
+@@ -169,6 +169,7 @@
+ # built for the build system to override those in BASE_FLAGS_TO_PASSS.
+ EXTRA_BUILD_FLAGS = \
+ CFLAGS="$(CFLAGS_FOR_BUILD)" \
++ CXXFLAGS="$(CXXFLAGS_FOR_BUILD)" \
+ LDFLAGS="$(LDFLAGS_FOR_BUILD)"
+
+ # This is the list of directories to built for the host system.