From 27195401e08cb1353bdfb2539159fdbe9c192c51 Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Sat, 28 Nov 2015 14:54:40 -0600 Subject: 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 --- recipes-devtools/gcc/gcc-cross-canadian_%.bbappend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'recipes-devtools') 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 = "" -- cgit v1.2.3-54-g00ecf