aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe/llvm/Makefile
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2019-03-11 13:15:02 +0100
committerBjörn Gustavsson <[email protected]>2019-03-20 16:19:30 +0100
commit4e0430638635083c199f81375a6c14f2ffb726fb (patch)
treefeaa70c8e46e8a82469ff10a237c336b905d4437 /lib/hipe/llvm/Makefile
parent0ffc8346553a5fc9322a75d4d8be5417dad67f29 (diff)
downloadotp-4e0430638635083c199f81375a6c14f2ffb726fb.tar.gz
otp-4e0430638635083c199f81375a6c14f2ffb726fb.tar.bz2
otp-4e0430638635083c199f81375a6c14f2ffb726fb.zip
HiPE: Don't fail the compilation for unimplemented instructions
Diffstat (limited to 'lib/hipe/llvm/Makefile')
-rw-r--r--lib/hipe/llvm/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/hipe/llvm/Makefile b/lib/hipe/llvm/Makefile
index 817ff67dcd..9f7a2def6d 100644
--- a/lib/hipe/llvm/Makefile
+++ b/lib/hipe/llvm/Makefile
@@ -70,7 +70,10 @@ TARGET_FILES= $(MODULES:%=$(EBIN)/%.$(EMULATOR))
include ../native.mk
-ERL_COMPILE_FLAGS += -Werror +inline +warn_export_vars #+warn_missing_spec
+ERL_COMPILE_FLAGS += +inline +warn_export_vars #+warn_missing_spec
+ifneq ($(NATIVE_LIBS_ENABLED),yes)
+ERL_COMPILE_FLAGS += -Werror
+endif
# if in 32 bit backend define BIT32 symbol
ifneq ($(BITS64),yes)