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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Thomas Weißschuh <[email protected]>
1 parent 69ccba6 commit 4da4e35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)