summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Janda <felix.janda@posteo.de>2016-11-26 14:01:52 -0500
committerDavid Seifert <soap@gentoo.org>2016-11-27 09:37:48 +0100
commit6a0f2eed4c8fceed1d56ec0fcf113dfee996634e (patch)
tree41d0cf1b532c3bbb6762a7c36355f66c3ff3a9d1 /app-text/openjade
parentdev-ruby/capistrano: mark ruby21 revision stable; drop stable ppc, ppc64, x86... (diff)
downloadgentoo-6a0f2eed4c8fceed1d56ec0fcf113dfee996634e.tar.gz
gentoo-6a0f2eed4c8fceed1d56ec0fcf113dfee996634e.tar.bz2
gentoo-6a0f2eed4c8fceed1d56ec0fcf113dfee996634e.zip
app-text/openjade: fix build with clang and older gcc
Gentoo-Bug: https://bugs.gentoo.org/596506 Closes: https://github.com/gentoo/gentoo/pull/2921
Diffstat (limited to 'app-text/openjade')
-rw-r--r--app-text/openjade/openjade-1.3.2-r6.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/app-text/openjade/openjade-1.3.2-r6.ebuild b/app-text/openjade/openjade-1.3.2-r6.ebuild
index f6bd9b76f590..0bb418f7b93d 100644
--- a/app-text/openjade/openjade-1.3.2-r6.ebuild
+++ b/app-text/openjade/openjade-1.3.2-r6.ebuild
@@ -52,8 +52,8 @@ src_prepare() {
src_configure() {
# avoids dead-store elimination optimization
# leading to segfaults on GCC 6
- # bug #592590
- append-cxxflags -fno-lifetime-dse
+ # bug #592590 #596506
+ append-cxxflags $(test-flags-CXX -fno-lifetime-dse)
# We need Prefix env, bug #287358
export CONFIG_SHELL="${CONFIG_SHELL:-${BASH}}"