aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2022-05-31 12:07:53 +0200
committerLoïc Hoguin <[email protected]>2022-05-31 12:07:53 +0200
commita310407e0a60b24ef47b5f16d866668a53f7806e (patch)
tree2656816aba4eaeeafa88520d5803443e1b667f41 /core
parent28d3d7d7662999405aabd4dd330902f3cbf0920b (diff)
downloaderlang.mk-a310407e0a60b24ef47b5f16d866668a53f7806e.tar.gz
erlang.mk-a310407e0a60b24ef47b5f16d866668a53f7806e.tar.bz2
erlang.mk-a310407e0a60b24ef47b5f16d866668a53f7806e.zip
Add -Werror by default again
It was removed by mistake.
Diffstat (limited to 'core')
-rw-r--r--core/erlc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/erlc.mk b/core/erlc.mk
index 1377869..71ba5b9 100644
--- a/core/erlc.mk
+++ b/core/erlc.mk
@@ -5,7 +5,7 @@
# Configuration.
-ERLC_OPTS ?= +debug_info +warn_export_vars +warn_shadow_vars \
+ERLC_OPTS ?= -Werror +debug_info +warn_export_vars +warn_shadow_vars \
+warn_obsolete_guard # +bin_opt_info +warn_export_all +warn_missing_spec
COMPILE_FIRST ?=
COMPILE_FIRST_PATHS = $(addprefix src/,$(addsuffix .erl,$(COMPILE_FIRST)))