summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2017-08-07 23:17:14 -0700
committerOri Bernstein <ori@eigenstate.org>2017-08-08 20:56:59 -0700
commit890ecfa3dc504d7f302faab58722cc196dd0979f (patch)
tree315caf735d222fef152e887a6849997ceae21553 /mk
parentb53309d883b5facd81d37606c49b432833f32b72 (diff)
downloadmc-890ecfa3dc504d7f302faab58722cc196dd0979f.tar.gz
Bring back enforced namespaces.
It turns out that people actually like being forced to type the full names. Go figure. It does have the benefit of adding pressure to keep package names short. Eventually, we'll probably grow the ability to alias a package at import. We'll see how that goes. This reverts commit c5245eaa80064b77186fa286f8e5e8bca73309ab.
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 25167bc..764846f 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 -Werror -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -Wno-char-subscripts -g -O0
+CFLAGS += -Wall -Werror -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -Wno-char-subscripts -g -O3
CFLAGS += -MMD -MP -MF .deps/$(subst /,-,$*).d
LIB ?= $(INSTLIB)