diff options
| author | Daniel McGregor <daniel.mcgregor@vecima.com> | 2016-05-10 10:04:47 -0600 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-14 23:05:12 +0100 |
| commit | 31f98f92376e5166b84a82da49df0ebbddc7623e (patch) | |
| tree | 53998fc764550a378c795007a82911e17be6b29e | |
| parent | efe59dbec50e51061fb2e38e00c17b44a339aea9 (diff) | |
| download | poky-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.bb | 1 |
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 | |||
| 44 | oe_runconf[vardepsexclude] += "CONFIGUREOPTS" | 44 | oe_runconf[vardepsexclude] += "CONFIGUREOPTS" |
| 45 | 45 | ||
| 46 | CFLAGS =+ "-I${S}/include" | 46 | CFLAGS =+ "-I${S}/include" |
| 47 | CXXFLAGS += "-fno-tree-dse" | ||
| 47 | 48 | ||
| 48 | SSTATEPOSTINSTFUNCS += "openjade_sstate_postinst" | 49 | SSTATEPOSTINSTFUNCS += "openjade_sstate_postinst" |
| 49 | SYSROOT_PREPROCESS_FUNCS += "openjade_sysroot_preprocess" | 50 | SYSROOT_PREPROCESS_FUNCS += "openjade_sysroot_preprocess" |
