summaryrefslogtreecommitdiff
path: root/mk/c.mk
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2014-02-25 12:44:26 -0500
committerOri Bernstein <ori@eigenstate.org>2014-02-25 12:44:26 -0500
commitd9849c024427afe138fcfa43f6b650341572c12b (patch)
tree0a7dde0b870a25088e3cbf54f09b1f3427d55298 /mk/c.mk
parentcd7b9ddf130ed2198c3dfff0d56a5c30dc765310 (diff)
downloadmc-d9849c024427afe138fcfa43f6b650341572c12b.tar.gz
Write out use files.
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 a98a5c2..1355014 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
+CFLAGS += -Wall -Werror -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wunreachable-code
CFLAGS += -g
CFLAGS += -MMD -MP -MF ${_DEPSDIR}/$(subst /,-,$*).d