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" build type. See https://code.dlang.org/package-format?lang=json#build-types
  • Re: DUB and LTO? Sönke Ludwig via Digitalmars-d-learn

Reply via email to