summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2016-12-25 10:06:36 -0800
committerOri Bernstein <ori@eigenstate.org>2016-12-25 10:06:36 -0800
commitc1785ddd18f21259671a5d8347a5b39ab151b1f4 (patch)
tree97085936c85a37d3bc29cfee49864133a008e043 /mk
parentd48c3220b5bbf3604b0b16d344d3cc0c17c5f8a7 (diff)
downloadmc-c1785ddd18f21259671a5d8347a5b39ab151b1f4.tar.gz
Make float parsing stricter.
Empty strings are not mumbers.
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 d5eead4..2cdf5d3 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 -O0
+CFLAGS += -Wall -Wextra -Werror -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -g -O3
CFLAGS += -MMD -MP -MF .deps/$(subst /,-,$*).d
LIB ?= $(INSTLIB)