summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2024-05-28 08:39:31 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-05-28 22:07:30 +0100
commit4ac078fb567ce03d9181fb0480c7bd17dc5ddb5d (patch)
treed218473d677873be433b4fc49740806717560774
parentc76b0dacf2751a9e2706d244fed3a609ee14a082 (diff)
downloadmeta-mingw-4ac078fb567ce03d9181fb0480c7bd17dc5ddb5d.tar.gz
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 <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--recipes-devtools/gcc/gcc-cross-canadian_%.bbappend3
1 files changed, 2 insertions, 1 deletions
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 @@
1INSANE_SKIP:${PN}:append:sdkmingw32 = " staticdev" 1INSANE_SKIP:${PN}:append:sdkmingw32 = " staticdev"
2EXTRA_OECONF:append:sdkmingw32 = " --disable-nls" 2# Disable C++-20 modules features as the needed tools do not build for mingw
3EXTRA_OECONF:append:sdkmingw32 = " --disable-nls --disable-c++-tools"
3LDFLAGS:append:sdkmingw32 = " -Wl,-static" 4LDFLAGS:append:sdkmingw32 = " -Wl,-static"
4EXEEXT:sdkmingw32 = ".exe" 5EXEEXT:sdkmingw32 = ".exe"
5ELFUTILS:sdkmingw32 = "" 6ELFUTILS:sdkmingw32 = ""