Conversation
|
To double-check if the compiler options work, try running Capture module info from some module (something like Also don't forget to update the |
8bfb765 to
85a7ce9
Compare
The compiler options are taking effect. With compiler options: Without compiler options: |
nickva
left a comment
There was a problem hiding this comment.
+1
Works in main:
fabric2_db:module_info(compile).
[{version,"7.6.9.1"}]
85a7ce9 to
a94bef2
Compare
a94bef2 to
5aaaaf3
Compare
Overview
Since Erlang 19.0 there is an ERL_COMPILER_OPTIONS environment variable which the compiler will consult.
Testing recommendations
Run
make clean && ERL_COMPILER_OPTIONS='[no_line_info,deterministic,no_debug_info]' make.Capture module-info from some module (something like
couch_db:module_info(compile).perhaps). Then, runmake clean && makeand see if the changes took effect. Withno_debug_infothere should be almost no extra info shown.Related Issues or Pull Requests
Remove ERL_OPTS handling from rebar.config* scripts: #3841
Checklist
rel/overlay/etc/default.ini