[OE-core] [master][krogoth][PATCH 3/5] openjade-native: work around bug exposed by GCC 6
danismostlikely at gmail.com
danismostlikely at gmail.com
Tue May 10 16:04:47 UTC 2016
From: Dan McGregor <danismostlikely at gmail.com>
From: Daniel McGregor <daniel.mcgregor at 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 at vecima.com>
---
meta/recipes-devtools/openjade/openjade-native_1.3.2.bb | 1 +
1 file changed, 1 insertion(+)
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 bc25008..afcb8ca 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"
--
2.8.2
More information about the Openembedded-core
mailing list