Skip to contentSkip to conversation

gcc-cross-canadian: Disable C++ tools build

PATCH New Khem Raj 1 participant 1 message May 28, 2024

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 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

---
 recipes-devtools/gcc/gcc-cross-canadian_%.bbappend | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
recipes-devtools/gcc/gcc-cross-canadian_%.bbappend +2 -1
index 13ea016..2d4358a 100644
@@ -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 = ""
Signature · 1 line
2.45.1