On Monday, 26 March 2018 at 10:57:28 UTC, Seb wrote:
It doesn't add -noboundscheck by default.
Typically the Makefiles allow passing an initial DFLAG variable, but that one doesn't seem to allow it, so I just submitted a PR to do so (https://github.com/dlang/dmd/pull/8089).
With this PR you can do:

make -f posix.mak HOST_DMD=ldmd ENABLE_RELEASE=1 DFLAGS="-noboundscheck"

You might want to give ENABLE_LTO a try too.

Thanks!

Reply via email to