summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2015-11-28 14:54:40 -0600
committerJuro Bystricky <juro.bystricky@intel.com>2017-01-13 12:49:40 -0800
commit27195401e08cb1353bdfb2539159fdbe9c192c51 (patch)
treee5964b2b311b9f36a39659b2b3539f5c63bd06ec
parent4fb621f4589f5357622b141ae28dc1018b91bc6e (diff)
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>
-rw-r--r--recipes-devtools/gcc/gcc-cross-canadian_%.bbappend2
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 @@
INSANE_SKIP_${PN}_append_sdkmingw32 = " staticdev"
-EXTRA_OECONF_append_sdkmingw32 = " --disable-nls"
+EXTRA_OECONF_append_sdkmingw32 = " --disable-nls --disable-lto"
LDFLAGS_append_sdkmingw32 = " -Wl,-static"
EXEEXT_sdkmingw32 = ".exe"
ELFUTILS_sdkmingw32 = ""