From 4ac078fb567ce03d9181fb0480c7bd17dc5ddb5d Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 28 May 2024 08:39:31 -0700 Subject: gcc-cross-canadian: Disable C++ tools build This disables C++ 20 modules since c++-tools are needed for that feature to work, this is therefore an intermediate fix until we fix the c++-tools build issue which seems to related to it asking for pic version of libiberty.a which is not generated separately on x86 unlike other architectures because defaults are PIC already Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- recipes-devtools/gcc/gcc-cross-canadian_%.bbappend | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes-devtools/gcc/gcc-cross-canadian_%.bbappend b/recipes-devtools/gcc/gcc-cross-canadian_%.bbappend index 13ea016..2d4358a 100644 --- a/recipes-devtools/gcc/gcc-cross-canadian_%.bbappend +++ b/recipes-devtools/gcc/gcc-cross-canadian_%.bbappend @@ -1,5 +1,6 @@ INSANE_SKIP:${PN}:append:sdkmingw32 = " staticdev" -EXTRA_OECONF:append:sdkmingw32 = " --disable-nls" +# Disable C++-20 modules features as the needed tools do not build for mingw +EXTRA_OECONF:append:sdkmingw32 = " --disable-nls --disable-c++-tools" LDFLAGS:append:sdkmingw32 = " -Wl,-static" EXEEXT:sdkmingw32 = ".exe" ELFUTILS:sdkmingw32 = "" -- cgit v1.2.3-54-g00ecf