]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests/nolibc: always compile the kernel with GCC
authorThomas Weißschuh <linux@weissschuh.net>
Sat, 19 Jul 2025 15:38:29 +0000 (17:38 +0200)
committerThomas Weißschuh <linux@weissschuh.net>
Mon, 18 Aug 2025 14:05:41 +0000 (16:05 +0200)
commit850047b19741490631855a475ccaa3ed29316039
tree72fc4698b360382805e3d3157eba5bad1acc31b3
parent1a5b40317dcbcd5e498cc8d2b3e5f48755bab322
selftests/nolibc: always compile the kernel with GCC

LLVM/clang can not build the kernel for all architectures supported by
nolibc. The current setup uses the same compiler to build the kernel as
is used for nolibc-test. This prevents using the full qemu-system tests
for LLVM builds.

Instead always build the kernel with GCC. For the nolibc testsuite the
kernel does not need to be built with LLVM.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Acked-by: Willy Tarreau <w@1wt.eu>
Link: https://lore.kernel.org/r/20250719-nolibc-llvm-system-v1-3-1730216ce171@weissschuh.net
tools/testing/selftests/nolibc/Makefile.nolibc