selftests: vDSO: Enable -Wall

Protect against common programming errors through compiler warnings.
These warnings are also used for the kernel itself.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20250611-selftests-vdso-fixes-v3-6-e62e37a6bcf5@linutronix.de
This commit is contained in:
Thomas Weißschuh 2025-06-11 12:33:56 +02:00 committed by Thomas Gleixner
parent ecabe99a03
commit 8863cd78a0

View File

@ -12,7 +12,7 @@ TEST_GEN_PROGS += vdso_test_correctness
TEST_GEN_PROGS += vdso_test_getrandom
TEST_GEN_PROGS += vdso_test_chacha
CFLAGS := -std=gnu99 -O2
CFLAGS := -std=gnu99 -O2 -Wall
ifeq ($(CONFIG_X86_32),y)
LDLIBS += -lgcc_s