summaryrefslogtreecommitdiff
path: root/lib/hipe/x86
diff options
context:
space:
mode:
authorKostis Sagonas <kostis@it.uu.se>2016-05-26 23:15:53 +0200
committerSverker Eriksson <sverker@erlang.org>2016-05-31 12:19:59 +0200
commit283b3f64aa566c9bb64493ec6af641e1b78145fa (patch)
tree388942a353799985db61233daf2ce960ebf44c2b /lib/hipe/x86
parent0e40609c64538a58466de8cddf2a7f0aebaf65ef (diff)
downloaderlang-283b3f64aa566c9bb64493ec6af641e1b78145fa.tar.gz
Add compiler option -Werror to Makefiles
and correct the name of another, erroneously spelt, option in the process.
Diffstat (limited to 'lib/hipe/x86')
-rw-r--r--lib/hipe/x86/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hipe/x86/Makefile b/lib/hipe/x86/Makefile
index e8a73bbc42..93f8b955dd 100644
--- a/lib/hipe/x86/Makefile
+++ b/lib/hipe/x86/Makefile
@@ -84,7 +84,7 @@ DOC_FILES= $(MODULES:%=$(DOCS)/%.html)
include ../native.mk
-ERL_COMPILE_FLAGS += +warn_exported_vars
+ERL_COMPILE_FLAGS += -Werror +warn_export_vars
# ----------------------------------------------------
# Targets