diff options
author | Kostis Sagonas <[email protected]> | 2016-05-26 23:15:53 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2016-05-31 12:19:59 +0200 |
commit | 283b3f64aa566c9bb64493ec6af641e1b78145fa (patch) | |
tree | 388942a353799985db61233daf2ce960ebf44c2b /lib/hipe/llvm | |
parent | 0e40609c64538a58466de8cddf2a7f0aebaf65ef (diff) | |
download | otp-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/llvm')
-rw-r--r-- | lib/hipe/llvm/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/hipe/llvm/Makefile b/lib/hipe/llvm/Makefile index 25b47a580f..88016a7d8b 100644 --- a/lib/hipe/llvm/Makefile +++ b/lib/hipe/llvm/Makefile @@ -52,8 +52,7 @@ endif MODULES = $(HIPE_MODULES) -HRL_FILES= elf_format.hrl elf32_format.hrl elf64_format.hrl \ - hipe_llvm_arch.hrl +HRL_FILES= elf_format.hrl elf32_format.hrl elf64_format.hrl hipe_llvm_arch.hrl ERL_FILES= $(MODULES:%=%.erl) TARGET_FILES= $(MODULES:%=$(EBIN)/%.$(EMULATOR)) @@ -71,7 +70,7 @@ TARGET_FILES= $(MODULES:%=$(EBIN)/%.$(EMULATOR)) include ../native.mk -ERL_COMPILE_FLAGS += +inline +warn_export_vars #+warn_missing_spec +ERL_COMPILE_FLAGS += -Werror +inline +warn_export_vars #+warn_missing_spec # if in 32 bit backend define BIT32 symbol ARCH = $(shell echo $(TARGET) | sed 's/^\(x86_64\)-.*/64bit/') |