diff mbox series

[16/21] syslinux: Pin to using GCC toolchain

Message ID 20250518-clang-toolchain-v1-16-5be46f8c4af5@gmail.com
State New
Headers show
Series clang: Add clang C/C++ toolchain | expand

Commit Message

Khem Raj May 18, 2025, 9:30 p.m. UTC
It does not compile with clang due to include_next stdarg.h not working
as the system expects to match gcc behavior

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/conf/distro/include/default-toolchains.inc | 5 +++++
 1 file changed, 5 insertions(+)
diff mbox series

Patch

diff --git a/meta/conf/distro/include/default-toolchains.inc b/meta/conf/distro/include/default-toolchains.inc
index c3b602b8ae8ed7c57cc8c524e3b8398519079b1b..cec47ae860747df807695182878e88e4f798fe24 100644
--- a/meta/conf/distro/include/default-toolchains.inc
+++ b/meta/conf/distro/include/default-toolchains.inc
@@ -29,6 +29,11 @@  TOOLCHAIN:pn-pulseaudio:armv7a = "gcc"
 # https://github.com/llvm/llvm-project/issues/82541
 TOOLCHAIN:pn-rpm = "gcc"
 
+# com32/lib/../include/stdarg.h:9:15: fatal error: 'stdarg.h' file not found
+#    9 | #include_next <stdarg.h>
+#      |               ^~~~~~~~~~
+TOOLCHAIN:pn-syslinux = "gcc"
+
 # Emits lot of warning which are treated as errors
 # They must be looked into before disabling
 TOOLCHAIN:pn-systemtap = "gcc"