summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel McGregor <daniel.mcgregor@vecima.com>2016-05-10 10:04:47 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-14 23:05:12 +0100
commit31f98f92376e5166b84a82da49df0ebbddc7623e (patch)
tree53998fc764550a378c795007a82911e17be6b29e
parentefe59dbec50e51061fb2e38e00c17b44a339aea9 (diff)
downloadpoky-31f98f92376e5166b84a82da49df0ebbddc7623e.tar.gz
openjade-native: work around bug exposed by GCC 6
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. (From OE-Core rev: 39e7dd90878325158c143dfec8234d563b841b86) Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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
44oe_runconf[vardepsexclude] += "CONFIGUREOPTS" 44oe_runconf[vardepsexclude] += "CONFIGUREOPTS"
45 45
46CFLAGS =+ "-I${S}/include" 46CFLAGS =+ "-I${S}/include"
47CXXFLAGS += "-fno-tree-dse"
47 48
48SSTATEPOSTINSTFUNCS += "openjade_sstate_postinst" 49SSTATEPOSTINSTFUNCS += "openjade_sstate_postinst"
49SYSROOT_PREPROCESS_FUNCS += "openjade_sysroot_preprocess" 50SYSROOT_PREPROCESS_FUNCS += "openjade_sysroot_preprocess"