diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2023-08-03 10:28:58 +0300 |
---|---|---|
committer | Willy Tarreau <w@1wt.eu> | 2023-08-23 06:17:07 +0300 |
commit | 45f65f8d04db6fa328ab8e0191a8b9462d4bad95 (patch) | |
tree | 065f8934ac2e5f97b7a9297854543f663966f193 /tools/testing/selftests/nolibc | |
parent | 711edef8f7cfa57f07cd336d77970a2b182bf9fc (diff) | |
download | linux-45f65f8d04db6fa328ab8e0191a8b9462d4bad95.tar.xz |
selftests/nolibc: enable compiler warnings
It will help the developers to avoid cruft and detect some bugs.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'tools/testing/selftests/nolibc')
-rw-r--r-- | tools/testing/selftests/nolibc/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/nolibc/Makefile b/tools/testing/selftests/nolibc/Makefile index b82d29b6c37f..e8d09cbee2ab 100644 --- a/tools/testing/selftests/nolibc/Makefile +++ b/tools/testing/selftests/nolibc/Makefile @@ -79,7 +79,7 @@ endif CFLAGS_s390 = -m64 CFLAGS_mips = -EL CFLAGS_STACKPROTECTOR ?= $(call cc-option,-mstack-protector-guard=global $(call cc-option,-fstack-protector-all)) -CFLAGS ?= -Os -fno-ident -fno-asynchronous-unwind-tables -std=c89 \ +CFLAGS ?= -Os -fno-ident -fno-asynchronous-unwind-tables -std=c89 -W -Wall -Wextra \ $(call cc-option,-fno-stack-protector) \ $(CFLAGS_$(ARCH)) $(CFLAGS_STACKPROTECTOR) LDFLAGS := |