summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJari Vetoniemi <mailroxas@gmail.com>2017-10-01 00:37:50 +0300
committerJari Vetoniemi <mailroxas@gmail.com>2017-10-01 00:37:50 +0300
commit316a006533874161642dcddcca18c12039dcd059 (patch)
treee4859c553d6ea2a87323cd607b2ec877aacb39b3 /Makefile
parent1ef2b6f22c2ed27f3e35b22a86e9e3789cfa48da (diff)
Make -Wstrict-overflow less paranoid
Seems to do stuff only when optimizations are enabled
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index bc29160..c360598 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ bindir ?= /bin
MAKEFLAGS += --no-builtin-rules
# GCC 7: -Wstringop-overflow=, -Walloc-size-larger-than=, -Wduplicated-{branches,cond}
-WARNINGS := -Wall -Wextra -Wpedantic -Wformat=2 -Wstrict-aliasing=3 -Wstrict-overflow=5 -Wstack-usage=12500 \
+WARNINGS := -Wall -Wextra -Wpedantic -Wformat=2 -Wstrict-aliasing=3 -Wstrict-overflow=3 -Wstack-usage=12500 \
-Wfloat-equal -Wcast-align -Wpointer-arith -Wchar-subscripts
override CFLAGS ?= -g