summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJari Vetoniemi <mailroxas@gmail.com>2019-02-25 09:15:10 +0200
committerJari Vetoniemi <mailroxas@gmail.com>2019-02-25 09:15:10 +0200
commita44260813d06d04ad347b362b386492ade1b02f5 (patch)
treee2dfd51871acf877c8de4e4271f5eb058a5d860c
parent51198be4ea5dbe3b4dd3eb956cc8d8edba20c06e (diff)
make: use regular assignment for WARNINGS
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 90c11b3..70df7f1 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=3 -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 -Warray-bounds=2
override CFLAGS ?= -g -O2 $(WARNINGS)