summaryrefslogtreecommitdiff
path: root/mk/c.mk
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2016-01-23 23:13:04 -0800
committerOri Bernstein <ori@eigenstate.org>2016-01-23 23:13:04 -0800
commit6e9c17391b5f1cc81904d622efccff55519be6d9 (patch)
treef857f7f73e3a5755dd5c1de2d8a7694ffe4b0255 /mk/c.mk
parenta87c06a2b53bbaae033b37327c7e3db0495f23e4 (diff)
downloadmc-6e9c17391b5f1cc81904d622efccff55519be6d9.tar.gz
Check slice bounds when slicing.
Diffstat (limited to 'mk/c.mk')
-rw-r--r--mk/c.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/c.mk b/mk/c.mk
index 292f507..0179da9 100644
--- a/mk/c.mk
+++ b/mk/c.mk
@@ -9,7 +9,7 @@ _LIBINCPATHS=$(addprefix -I, $(dir $(DEPS))) $(_PCHDRS)
_LIBPATHS=$(addprefix -l, $(patsubst lib%.a,%,$(notdir $(DEPS)))) $(_PCLIBS)
# yeah, I should probably remove -Werror, but it's nice for developing alone.
-CFLAGS += -Wall -Wextra -Werror -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -Wno-array-bounds -g -O2
+CFLAGS += -Wall -Wextra -Werror -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -Wno-array-bounds -g -O0
CFLAGS += -MMD -MP -MF .deps/$(subst /,-,$*).d
LIB ?= $(INSTLIB)