summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Thomas Witt <pyromaniac@exherbo.org> 2017-03-15 17:55:57 +0100
committerAvatar Marc-Antoine Perennou <Marc-Antoine@Perennou.com> 2017-03-16 09:34:49 +0100
commit158b81cfa942df147857d4d87a2aff67b69e4d6c (patch)
treedb294a5c0e37618febdcbc045df20cb3b77b3a8c
parent43c1e50619ea74d1dfa99290d5a68050d86522c4 (diff)
downloadjava-158b81cfa942df147857d4d87a2aff67b69e4d6c.tar.gz
java-158b81cfa942df147857d4d87a2aff67b69e4d6c.tar.xz
icedtea8: make gcc6 happy
https://patchwork.openembedded.org/patch/125471/ GCC 6 sets the default C++ standard to C++14 and introduces dead store elimination by default. OpenJDK 8 is not ready for either of these changes, so set the C++ standard back to gnu++98 and disable dead store elimination. Change-Id: Ia19c6805fe3ef9b566e0fe5c957046bf02c2fb25 Reviewed-on: https://galileo.mailstation.de/gerrit/8546 Reviewed-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
-rw-r--r--packages/dev-lang/icedtea8/icedtea8-3.3.0-r1.exheres-05
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/dev-lang/icedtea8/icedtea8-3.3.0-r1.exheres-0 b/packages/dev-lang/icedtea8/icedtea8-3.3.0-r1.exheres-0
index 45761b0..6ea4732 100644
--- a/packages/dev-lang/icedtea8/icedtea8-3.3.0-r1.exheres-0
+++ b/packages/dev-lang/icedtea8/icedtea8-3.3.0-r1.exheres-0
@@ -31,3 +31,8 @@ src_prepare() {
autotools_src_prepare
}
+src_configure() {
+ append-flags "-fno-lifetime-dse -fno-delete-null-pointer-checks"
+ append-cppflags "-std=gnu++98"
+ icedtea_src_configure
+}