Skip to content

Commit 1a5b403

Browse files
committed
selftests/nolibc: don't pass CC to toplevel Makefile
The toplevel Makefile is capable of calculating CC from CROSS_COMPILE and/or ARCH. Stop passing the unnecessary variable. 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-2-1730216ce171@weissschuh.net
1 parent 32042f6 commit 1a5b403

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/testing/selftests/nolibc/Makefile.nolibc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ REPORT ?= awk '/\[OK\][\r]*$$/{p++} /\[FAIL\][\r]*$$/{if (!f) printf("\n"); f++
263263
printf("\nSee all results in %s\n", ARGV[1]); }'
264264

265265
# Execute the toplevel kernel Makefile
266-
KBUILD_MAKE = $(MAKE) -C $(srctree) ARCH=$(ARCH) CC=$(CC) CROSS_COMPILE=$(CROSS_COMPILE)
266+
KBUILD_MAKE = $(MAKE) -C $(srctree) ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE)
267267

268268
help:
269269
@echo "Supported targets under selftests/nolibc:"

0 commit comments

Comments
 (0)