summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2014-11-30 17:42:04 -0800
committerOri Bernstein <ori@eigenstate.org>2014-11-30 17:42:04 -0800
commit0561c842479180dd259e348dd41b6758c403d43b (patch)
treecc94e364e7daad25d730635e1186ce8ab292eb1a /mk
parent913c7e75ade73d7418dafc2482310157660e589c (diff)
downloadmc-0561c842479180dd259e348dd41b6758c403d43b.tar.gz
Be stricter about negating booleans.
We used to allow non-booleans. This was bad.
Diffstat (limited to '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 eee1a29..5b1ddad 100644
--- a/mk/c.mk
+++ b/mk/c.mk
@@ -6,7 +6,7 @@ _LIBSRCHPATHS=$(addprefix -L, $(dir $(DEPS)))
_LIBINCPATHS=$(addprefix -I, $(dir $(DEPS)))
_LIBPATHS=$(addprefix -l, $(patsubst lib%.a,%,$(notdir $(DEPS))))
-CFLAGS += -Wall -Werror -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -g
+CFLAGS += -O0 -Wall -Werror -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -g
CFLAGS += -MMD -MP -MF ${_DEPSDIR}/$(subst /,-,$*).d
LIB ?= $(INSTLIB)