mirror of
git://git.yoctoproject.org/poky
synced 2026-04-02 02:49:11 +00:00
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) (From OE-Core rev: 901c179680629f49ac3c05c336b2fe752a87ea2b) Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
3ee0f6afc8
commit
cb7787af8a
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user