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.k...@gmail.com>
---
 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 = ""
-- 
2.45.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#63218): https://lists.yoctoproject.org/g/yocto/message/63218
Mute This Topic: https://lists.yoctoproject.org/mt/106351220/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to