aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-02-16 18:11:41 +0100
committerLoïc Hoguin <[email protected]>2015-02-16 18:11:41 +0100
commit8d2063bb2ea8fec3f1807cd8181cbe25689838f1 (patch)
treee70109c1f40a0f4e84ced4067cfafd076b9bdf9a /Makefile
parente74120bee13f6fd6a6cd28acc707bf218c63273b (diff)
downloadcowboy-8d2063bb2ea8fec3f1807cd8181cbe25689838f1.tar.gz
cowboy-8d2063bb2ea8fec3f1807cd8181cbe25689838f1.tar.bz2
cowboy-8d2063bb2ea8fec3f1807cd8181cbe25689838f1.zip
Add +warn_untyped_record to the build options
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index db46c32..7ea21ad 100644
--- a/Makefile
+++ b/Makefile
@@ -4,8 +4,6 @@ PROJECT = cowboy
# Options.
-ERLC_OPTS ?= -Werror +debug_info +warn_export_all +warn_export_vars \
- +warn_shadow_vars +warn_obsolete_guard +warn_missing_spec
COMPILE_FIRST = cowboy_middleware cowboy_sub_protocol
CT_OPTS += -pa test -ct_hooks cowboy_ct_hook []
PLT_APPS = crypto public_key ssl
@@ -22,6 +20,8 @@ dep_ct_helper = git https://github.com/extend/ct_helper.git master
include erlang.mk
+ERLC_OPTS += +warn_export_all +warn_missing_spec +warn_untyped_record
+
# Also dialyze the tests.
# DIALYZER_OPTS += --src -r test