GHC options in Cabal
Adrian Hey
ahey at iee.org
Thu Jan 17 08:51:22 EST 2008
Hello,
Looking at the latest Cabal docs, I see that in addition to ghc-options,
there are also ghc-prof-options and ghc-shared-options. What isn't clear
to me though from the docs is that are the latter two in addition to the
first, or are they a substitute for the first (for profiling/shared).
IOW, if I already have..
ghc-options: -O2
will the O2 also be applied to profiling build (say)? Or do I need an
extra explicit..
ghc-prof-options: -O2
Thanks
--
Adrian Hey
More information about the Libraries
mailing list