diff options
author | Björn Gustavsson <[email protected]> | 2019-03-21 16:14:25 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2019-03-21 16:14:25 +0100 |
commit | 2cc798bbbf9924e1c87c6eaa6e1c8be8cca5596c (patch) | |
tree | 027aeb6c0a4be44a412385be59c777b3cee366ca /lib/hipe/rtl | |
parent | b89b9d8e5f8a136150642b9f7e34268a6d99381f (diff) | |
parent | 4e0430638635083c199f81375a6c14f2ffb726fb (diff) | |
download | otp-2cc798bbbf9924e1c87c6eaa6e1c8be8cca5596c.tar.gz otp-2cc798bbbf9924e1c87c6eaa6e1c8be8cca5596c.tar.bz2 otp-2cc798bbbf9924e1c87c6eaa6e1c8be8cca5596c.zip |
Merge branch 'bjorn/hipe-compilation/OTP-15596'
* bjorn/hipe-compilation/OTP-15596:
HiPE: Don't fail the compilation for unimplemented instructions
Diffstat (limited to 'lib/hipe/rtl')
-rw-r--r-- | lib/hipe/rtl/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/hipe/rtl/Makefile b/lib/hipe/rtl/Makefile index becdd0b7d8..0c0f6e24f5 100644 --- a/lib/hipe/rtl/Makefile +++ b/lib/hipe/rtl/Makefile @@ -75,7 +75,10 @@ TARGET_FILES= $(MODULES:%=$(EBIN)/%.$(EMULATOR)) include ../native.mk -ERL_COMPILE_FLAGS += -Werror +inline +warn_unused_import +warn_export_vars +ERL_COMPILE_FLAGS += +inline +warn_unused_import +warn_export_vars +ifneq ($(NATIVE_LIBS_ENABLED),yes) +ERL_COMPILE_FLAGS += -Werror +endif # ---------------------------------------------------- # Targets |