summaryrefslogtreecommitdiff
path: root/user/openjdk7/gcc-fix-cxxflags-passing.patch
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2022-10-31 22:39:57 -0500
committerZach van Rijn <me@zv.io>2022-11-02 16:01:24 -0500
commitc5b882546f831beffaec290c7b5c6ee3b4efc258 (patch)
treeab443a31f04ce8e2a8d8d3b5bb177910641a7fa0 /user/openjdk7/gcc-fix-cxxflags-passing.patch
parentf501eba1775d96f4438e2086e4b66966f2ec06a8 (diff)
downloadpackages-c5b882546f831beffaec290c7b5c6ee3b4efc258.tar.gz
packages-c5b882546f831beffaec290c7b5c6ee3b4efc258.tar.bz2
packages-c5b882546f831beffaec290c7b5c6ee3b4efc258.tar.xz
packages-c5b882546f831beffaec290c7b5c6ee3b4efc258.zip
[WIP] import from ppc64 test tree.
Diffstat (limited to 'user/openjdk7/gcc-fix-cxxflags-passing.patch')
-rw-r--r--user/openjdk7/gcc-fix-cxxflags-passing.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/user/openjdk7/gcc-fix-cxxflags-passing.patch b/user/openjdk7/gcc-fix-cxxflags-passing.patch
new file mode 100644
index 000000000..8eb1de77d
--- /dev/null
+++ b/user/openjdk7/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.