]> git.ipfire.org Git - thirdparty/iw.git/commitdiff
iw: use -Wstringop-overflow=4
authorJohannes Berg <johannes.berg@intel.com>
Wed, 21 Nov 2018 08:13:54 +0000 (09:13 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 21 Nov 2018 08:14:03 +0000 (09:14 +0100)
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Makefile

index 9a6c25a29641a820b5879d2c4580cf2ea3ab12d7..02da9c36ff00456b0d22be766f610b6f2e2e6e95 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,8 @@ CC ?= "gcc"
 
 CFLAGS ?= -O2 -g
 CFLAGS += -Wall -Wextra -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common \
-         -Werror-implicit-function-declaration -Wsign-compare -Wno-unused-parameter
+         -Werror-implicit-function-declaration -Wsign-compare -Wno-unused-parameter \
+         -Wstringop-overflow=4
 
 OBJS = iw.o genl.o event.o info.o phy.o \
        interface.o ibss.o station.o survey.o util.o ocb.o \