Re: DUB and LTO?

2017-09-05 Thread Jon Degenhardt via Digitalmars-d-learn
On Tuesday, 5 September 2017 at 11:36:06 UTC, Sönke Ludwig wrote: Am 24.01.2017 um 17:02 schrieb Las: How do I enable LTO in DUB in a sane way? I could add it to dflags, but I only want it on release builds. You can put a "buildTypes" section in your package recipe and overri

Re: DUB and LTO?

2017-09-05 Thread Sönke Ludwig via Digitalmars-d-learn
Am 24.01.2017 um 17:02 schrieb Las: How do I enable LTO in DUB in a sane way? I could add it to dflags, but I only want it on release builds. You can put a "buildTypes" section in your package recipe and override default dflags or lflags there just for the "release" bu