Skip to content

Commit 4da4e35

Browse files
committed
selftests/nolibc: enable -Wmissing-prototypes
User code may want to use this compiler flag. Make sure it is supported by nolibc. Acked-by: Willy Tarreau <w@1wt.eu> Link: https://lore.kernel.org/r/20250123-nolibc-prototype-v1-3-e1afc5c1999a@weissschuh.net Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
1 parent 69ccba6 commit 4da4e35

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/testing/selftests/nolibc/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ CFLAGS_mips32le = -EL -mabi=32 -fPIC
164164
CFLAGS_mips32be = -EB -mabi=32
165165
CFLAGS_STACKPROTECTOR ?= $(call cc-option,-mstack-protector-guard=global $(call cc-option,-fstack-protector-all))
166166
CFLAGS ?= -Os -fno-ident -fno-asynchronous-unwind-tables -std=c89 -W -Wall -Wextra \
167-
$(call cc-option,-fno-stack-protector) \
167+
$(call cc-option,-fno-stack-protector) $(call cc-option,-Wmissing-prototypes) \
168168
$(CFLAGS_$(XARCH)) $(CFLAGS_STACKPROTECTOR) $(CFLAGS_EXTRA)
169169
LDFLAGS :=
170170

0 commit comments

Comments
 (0)