aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gcc6/fix-cxxflags-passing.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-11-28 15:35:26 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-11-28 15:36:20 +0000
commitf76673fb030820b2053cad7e5b81ece31079d4cc (patch)
tree76c4bead9f194774c9e62faec59181fefb1a521c /testing/gcc6/fix-cxxflags-passing.patch
parentbee941037412f7cad59a6cbe9965568dc5052040 (diff)
downloadaports-f76673fb030820b2053cad7e5b81ece31079d4cc.tar.bz2
aports-f76673fb030820b2053cad7e5b81ece31079d4cc.tar.xz
testing/gcc6: new aport
gcc6-java is needed for bootstrapping openjdk7
Diffstat (limited to 'testing/gcc6/fix-cxxflags-passing.patch')
-rw-r--r--testing/gcc6/fix-cxxflags-passing.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/gcc6/fix-cxxflags-passing.patch b/testing/gcc6/fix-cxxflags-passing.patch
new file mode 100644
index 0000000000..8eb1de77d5
--- /dev/null
+++ b/testing/gcc6/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.