This PR switch the default compilation from release with asserts enabled, to release with debug information but asserts disabled. This makes sure people will compile an efficient emulator with just make when packaging by default, not requiring the use of make relwithdebinfo=yes or make release=yes anymore when packaging.
The default make is choosen to contain debug information because some distros may want to strip and move the debug information into a second debug package (for example ArchLinux does this).
Change were mades in CI to always test with debug information, except for tagged releases.
IMPORTANT: After this PR, if you want to compile with asserts, please start compiling with make debug=yes, this is something only emulator developers care.
This PR switch the default compilation from release with asserts enabled, to release with debug information but asserts disabled. This makes sure people will compile an efficient emulator with just
make
when packaging by default, not requiring the use ofmake relwithdebinfo=yes
ormake release=yes
anymore when packaging.The default make is choosen to contain debug information because some distros may want to strip and move the debug information into a second debug package (for example ArchLinux does this).
Change were mades in CI to always test with debug information, except for tagged releases.
IMPORTANT: After this PR, if you want to compile with asserts, please start compiling with
make debug=yes
, this is something only emulator developers care.