From 979e066ab52949d37c001276d08f8cf047a580c4 Mon Sep 17 00:00:00 2001 From: Juro Bystricky Date: Wed, 5 Oct 2016 15:49:20 -0700 Subject: gcc-crosssdk-initial_%.bbappend:Do not configure with initfini-array enabled Default configuration for gcc-crosssddk-initial is now to enable initfini-array. However, this works only for Linux so we disable it for mingw32. Otherwise, (with SDKMACHINE=x86_64-mingw32) we will eventually encounter errors such as: Assembler messages: Error: invalid instruction suffix for `push' Error: invalid instruction suffix for `pop' Signed-off-by: Juro Bystricky Signed-off-by: Mark Hatle --- recipes-devtools/gcc/gcc-crosssdk-initial_%.bbappend | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes-devtools/gcc/gcc-crosssdk-initial_%.bbappend b/recipes-devtools/gcc/gcc-crosssdk-initial_%.bbappend index 1c09342..135a776 100644 --- a/recipes-devtools/gcc/gcc-crosssdk-initial_%.bbappend +++ b/recipes-devtools/gcc/gcc-crosssdk-initial_%.bbappend @@ -1 +1,3 @@ DEPENDS_append_mingw32 = " nativesdk-mingw-w64-headers" +EXTRA_OECONF_remove_mingw32 = "--enable-initfini-array" +EXTRA_OECONF_append_mingw32 = " --disable-initfini-array" -- cgit v1.2.3-54-g00ecf