Homebuilt dmd fails to link my dub application
Nordlöw
per.nordlow at gmail.com
Mon Mar 26 12:14:43 UTC 2018
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!
More information about the Digitalmars-d-learn
mailing list