summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2016-12-28 09:36:55 -0800
committerOri Bernstein <ori@eigenstate.org>2016-12-28 09:36:55 -0800
commitbc3a2a3b871d3126de301b51fd58c452c4ef5ead (patch)
treee9b0bbb4112ba3ddf23124f22c7c6a2e2a188d75 /mk
parent7e7ef17a00025776a94f832d4f7fbd64e5687767 (diff)
downloadmc-bc3a2a3b871d3126de301b51fd58c452c4ef5ead.tar.gz
Remove erronous -O3
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 2cdf5d3..d5eead4 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 -g -O3
+CFLAGS += -Wall -Wextra -Werror -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -g -O0
CFLAGS += -MMD -MP -MF .deps/$(subst /,-,$*).d
LIB ?= $(INSTLIB)