summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 69a1af572..ed577a6a4 100644
--- a/Makefile
+++ b/Makefile
@@ -273,7 +273,7 @@ CC_VERSION = $(shell $(CC) -dumpversion | cut -c 1,3)
# this is a workaround to test for >=
ifeq ($(shell if test $(CC_VERSION) -ge 29; then echo true; fi), true)
CFLAGS += -O -Wall -Wno-multichar -Wsign-compare -Wstrict-prototypes
- CFLAGS += -Wwrite-strings
+ CFLAGS += -Wwrite-strings -Wpointer-arith
endif
ifeq ($(shell if test $(CC_VERSION) -ge 30; then echo true; fi), true)
CFLAGS += -W -Wno-unused-parameter