diff options
author | Björn Gustavsson <[email protected]> | 2019-04-11 07:18:35 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2019-04-12 15:07:38 +0200 |
commit | d528f140350d31ce680365c0c4e72489e204a839 (patch) | |
tree | 85bcb970beac8a8619798a11a45a56f4192e0013 /erts/emulator/test/Makefile | |
parent | 090ba157f3347442ad7a00f24fcd0245637b51cc (diff) | |
download | otp-d528f140350d31ce680365c0c4e72489e204a839.tar.gz otp-d528f140350d31ce680365c0c4e72489e204a839.tar.bz2 otp-d528f140350d31ce680365c0c4e72489e204a839.zip |
Turn off more optimizations for no_opt modules
With the new compiler in OTP 22, we have to use more options to
turn off optimizations.
This commit also skips the match_huge_int/1 test case in the
unoptimized clone of the bs_match_int module because it could
crash on memory-constrained computers.
Diffstat (limited to 'erts/emulator/test/Makefile')
-rw-r--r-- | erts/emulator/test/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/test/Makefile b/erts/emulator/test/Makefile index 28775b6f02..03bd4dd9a8 100644 --- a/erts/emulator/test/Makefile +++ b/erts/emulator/test/Makefile @@ -213,8 +213,8 @@ make_emakefile: $(NO_OPT_ERL_FILES) $(NATIVE_ERL_FILES) '*_SUITE_make' > $(EMAKEFILE) $(ERL_TOP)/make/make_emakefile $(ERL_COMPILE_FLAGS) +compressed -o$(EBIN) \ $(MODULES) >> $(EMAKEFILE) - $(ERL_TOP)/make/make_emakefile +no_copt +no_postopt $(ERL_COMPILE_FLAGS) \ - -o$(EBIN) $(NO_OPT_MODULES) >> $(EMAKEFILE) + $(ERL_TOP)/make/make_emakefile +no_copt +no_postopt +no_ssa_opt +no_bsm_opt \ + $(ERL_COMPILE_FLAGS) -o$(EBIN) $(NO_OPT_MODULES) >> $(EMAKEFILE) $(ERL_TOP)/make/make_emakefile +native $(ERL_COMPILE_FLAGS) \ -o$(EBIN) $(NATIVE_MODULES) >> $(EMAKEFILE) |