aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe/opt
diff options
context:
space:
mode:
authorKostis Sagonas <[email protected]>2016-05-26 23:15:53 +0200
committerSverker Eriksson <[email protected]>2016-05-31 12:19:59 +0200
commit283b3f64aa566c9bb64493ec6af641e1b78145fa (patch)
tree388942a353799985db61233daf2ce960ebf44c2b /lib/hipe/opt
parent0e40609c64538a58466de8cddf2a7f0aebaf65ef (diff)
downloadotp-283b3f64aa566c9bb64493ec6af641e1b78145fa.tar.gz
otp-283b3f64aa566c9bb64493ec6af641e1b78145fa.tar.bz2
otp-283b3f64aa566c9bb64493ec6af641e1b78145fa.zip
Add compiler option -Werror to Makefiles
and correct the name of another, erroneously spelt, option in the process.
Diffstat (limited to 'lib/hipe/opt')
-rw-r--r--lib/hipe/opt/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hipe/opt/Makefile b/lib/hipe/opt/Makefile
index ec0d01b42e..684d6f45b4 100644
--- a/lib/hipe/opt/Makefile
+++ b/lib/hipe/opt/Makefile
@@ -64,7 +64,7 @@ DOC_FILES= $(MODULES:%=$(DOCS)/%.html)
include ../native.mk
-ERL_COMPILE_FLAGS += +warn_exported_vars +warn_missing_spec # +warn_untyped_record
+ERL_COMPILE_FLAGS += -Werror +warn_export_vars +warn_missing_spec # +warn_untyped_record
# ----------------------------------------------------
# Targets