diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2015-11-28 14:54:40 -0600 |
---|---|---|
committer | Juro Bystricky <juro.bystricky@intel.com> | 2017-01-13 12:49:40 -0800 |
commit | 27195401e08cb1353bdfb2539159fdbe9c192c51 (patch) | |
tree | e5964b2b311b9f36a39659b2b3539f5c63bd06ec /recipes-devtools | |
parent | 4fb621f4589f5357622b141ae28dc1018b91bc6e (diff) | |
download | meta-mingw-27195401e08cb1353bdfb2539159fdbe9c192c51.tar.gz |
gcc-cross-canadian: Workaround LTO failure
Issue: LIN8-1615
Workaround for the failure:
e:/windri~1/lx8.sdk/qemux8~1.800/sysroots/i686-w~1/usr/bin/i586-w~3/../../libexec/i586-wrs-linux/gcc/i586-wrs-linux/5.2.0/real-ld.exe: unrecognized option '-plugin'
This disables the LTO support in the compiler, but does allow things to
compile and link properly.
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Diffstat (limited to 'recipes-devtools')
-rw-r--r-- | recipes-devtools/gcc/gcc-cross-canadian_%.bbappend | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-devtools/gcc/gcc-cross-canadian_%.bbappend b/recipes-devtools/gcc/gcc-cross-canadian_%.bbappend index 030a9b9..888d610 100644 --- a/recipes-devtools/gcc/gcc-cross-canadian_%.bbappend +++ b/recipes-devtools/gcc/gcc-cross-canadian_%.bbappend | |||
@@ -1,5 +1,5 @@ | |||
1 | INSANE_SKIP_${PN}_append_sdkmingw32 = " staticdev" | 1 | INSANE_SKIP_${PN}_append_sdkmingw32 = " staticdev" |
2 | EXTRA_OECONF_append_sdkmingw32 = " --disable-nls" | 2 | EXTRA_OECONF_append_sdkmingw32 = " --disable-nls --disable-lto" |
3 | LDFLAGS_append_sdkmingw32 = " -Wl,-static" | 3 | LDFLAGS_append_sdkmingw32 = " -Wl,-static" |
4 | EXEEXT_sdkmingw32 = ".exe" | 4 | EXEEXT_sdkmingw32 = ".exe" |
5 | ELFUTILS_sdkmingw32 = "" | 5 | ELFUTILS_sdkmingw32 = "" |