aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2013-03-02 20:59:05 +0100
committerLoïc Hoguin <[email protected]>2013-03-02 20:59:05 +0100
commitdbc1bc6d91548b199fc86a477bdc1873faa890ac (patch)
treecdacf901372c22f9823e31344a924c700471f1d0
parenta165a0bf46bdce1847a9cba2df4efc7aab9f7d96 (diff)
downloadcowboy-dbc1bc6d91548b199fc86a477bdc1873faa890ac.tar.gz
cowboy-dbc1bc6d91548b199fc86a477bdc1873faa890ac.tar.bz2
cowboy-dbc1bc6d91548b199fc86a477bdc1873faa890ac.zip
Allow overriding ERLC_OPTS
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e5610ef..5c19cd4 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
PROJECT = cowboy
RANCH_VSN = 0.6.1
-ERLC_OPTS = -Werror +debug_info +warn_export_all +warn_export_vars \
+ERLC_OPTS ?= -Werror +debug_info +warn_export_all +warn_export_vars \
+warn_shadow_vars +warn_obsolete_guard # +bin_opt_info +warn_missing_spec
DEPS_DIR ?= $(CURDIR)/deps