summaryrefslogtreecommitdiff
path: root/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
commit02c29f2c258f52304956c229882b2f7c1b574d3d (patch)
tree0a7dde0b870a25088e3cbf54f09b1f3427d55298 /mk
parentb8010126f4c2d4020ea3ec53739b75f128d476c2 (diff)
downloadmc-02c29f2c258f52304956c229882b2f7c1b574d3d.tar.gz
Write out use files.
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 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