Adding extra C compiler arguments when building with hadrian?

Ömer Sinan Ağacan omeragacan at
Mon Feb 10 12:57:27 UTC 2020

In make build system I can add extra C compiler arguments to any flavor using
something like

    BuildFlavour = ...

    ifneq "$(BuildFlavour)" ""
    include mk/flavours/$(BuildFlavour).mk

    GhcRtsHcOpts += -O0 -g3

How do I do the same in hadrian when defining a flavor?



More information about the ghc-devs mailing list