Browse Source

Allow overriding ERLC_OPTS

Loïc Hoguin 12 years ago
parent
commit
dbc1bc6d91
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -2,7 +2,7 @@
 
 
 PROJECT = cowboy
 PROJECT = cowboy
 RANCH_VSN = 0.6.1
 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
    +warn_shadow_vars +warn_obsolete_guard # +bin_opt_info +warn_missing_spec
 
 
 DEPS_DIR ?= $(CURDIR)/deps
 DEPS_DIR ?= $(CURDIR)/deps