]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
syslinux: Pin to using GCC toolchain
authorKhem Raj <raj.khem@gmail.com>
Wed, 21 May 2025 06:19:55 +0000 (23:19 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 22 May 2025 13:36:18 +0000 (14:36 +0100)
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>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/syslinux/syslinux_6.04-pre2.bb

index 1e65616081bea95ff28f40eec362195cbaf77390..449a75ebf8abf1dd6865f641f696ac1b67278819 100644 (file)
@@ -130,3 +130,8 @@ FILES:${PN}-staticdev += "${datadir}/${BPN}/com32/lib*.a ${libdir}/${BPN}/com32/
 FILES:${PN}-misc = "${datadir}/${BPN}/* ${libdir}/${BPN}/* ${bindir}/*"
 
 BBCLASSEXTEND = "native nativesdk"
+
+# com32/lib/../include/stdarg.h:9:15: fatal error: 'stdarg.h' file not found
+#    9 | #include_next <stdarg.h>
+#      |               ^~~~~~~~~~
+TOOLCHAIN = "gcc"