From d21e286028f93feaf33de78e4e1141a6539f9567 Mon Sep 17 00:00:00 2001 From: Juro Bystricky Date: Wed, 5 Oct 2016 15:49:19 -0700 Subject: gcc-crosssdk_%.bbappend: Do not configure with initfini-array enabled. Default configuration for gcc-crosssddk is now to enable initfini-array. However, this works only for Linux so we disable it for mingw32. Otherwise we will eventually encounter build error such as: multiple definition of `__do_global_dtors' Signed-off-by: Juro Bystricky Signed-off-by: Mark Hatle --- recipes-devtools/gcc/gcc-crosssdk_%.bbappend | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipes-devtools/gcc/gcc-crosssdk_%.bbappend b/recipes-devtools/gcc/gcc-crosssdk_%.bbappend index 77ba57f..b3b843a 100644 --- a/recipes-devtools/gcc/gcc-crosssdk_%.bbappend +++ b/recipes-devtools/gcc/gcc-crosssdk_%.bbappend @@ -1 +1,4 @@ EXTRA_OECONF_mingw32 := "${@oe_filter_out('--with-linker-hash-style=${LINKER_HASH_STYLE}', '${EXTRA_OECONF}', d)}" +PACKAGECONFIG_CONFARGS ?= "" +EXTRA_OECONF_remove_mingw32 = "--enable-initfini-array" +EXTRA_OECONF_append_mingw32 = " --disable-initfini-array" -- cgit v1.2.3-54-g00ecf