From: Dan McGregor Date: Tue, 10 May 2016 16:04:47 +0000 (-0600) Subject: openjade-native: work around bug exposed by GCC 6 X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~25868 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39e7dd90878325158c143dfec8234d563b841b86;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git openjade-native: work around bug exposed by GCC 6 From: Daniel McGregor 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 Signed-off-by: Richard Purdie --- 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 bc250080f13..afcb8ca13a4 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"