mirror of
https://github.com/torvalds/linux.git
synced 2024-12-06 19:11:31 +00:00
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>
This commit is contained in:
parent
711edef8f7
commit
45f65f8d04
@ -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 :=
|
||||
|
Loading…
Reference in New Issue
Block a user