summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/openjade
diff options
context:
space:
mode:
authorDan McGregor <danismostlikely@gmail.com>2016-05-10 10:04:47 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-14 07:26:41 +0100
commit39e7dd90878325158c143dfec8234d563b841b86 (patch)
treeae2450285d129d7c8edcfeeb0ba561d0983bcbf6 /meta/recipes-devtools/openjade
parent28a53355d7bf490f974500131d7827e3f65674ef (diff)
downloadopenembedded-core-39e7dd90878325158c143dfec8234d563b841b86.tar.gz
openembedded-core-39e7dd90878325158c143dfec8234d563b841b86.tar.bz2
openembedded-core-39e7dd90878325158c143dfec8234d563b841b86.zip
openjade-native: work around bug exposed by GCC 6
From: Daniel McGregor <daniel.mcgregor@vecima.com> Simply turn off the optimzation that is causing this breakage. I had originally used -fno-lifetime-dse, but -fno-tree-dse works at least going back as far as gcc 4.8. This isn't a real fix, but it allows openjade to work enough to complete a build. Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/openjade')
-rw-r--r--meta/recipes-devtools/openjade/openjade-native_1.3.2.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb b/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb
index bc250080f1..afcb8ca13a 100644
--- a/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb
+++ b/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb
@@ -44,6 +44,7 @@ CONFIGUREOPTS := "${@d.getVar('CONFIGUREOPTS', True).replace('--datadir=${datadi
oe_runconf[vardepsexclude] += "CONFIGUREOPTS"
CFLAGS =+ "-I${S}/include"
+CXXFLAGS += "-fno-tree-dse"
SSTATEPOSTINSTFUNCS += "openjade_sstate_postinst"
SYSROOT_PREPROCESS_FUNCS += "openjade_sysroot_preprocess"