patch applied (cabal): Generalise build --ghc-option flag to
--prog-option for any prog
duncan.coutts at worc.ox.ac.uk
Mon Sep 3 07:44:04 EDT 2007
Mon Sep 3 04:06:58 PDT 2007 Duncan Coutts <duncan at haskell.org>
* Generalise build --ghc-option flag to --prog-option for any prog
and remove makefile --ghc-option flag as it's not used (as far as I can see).
It works generically by updating the ProgramConfiguration rather than the
previous ad-hoc implementation. This feature is generally only useful for
hackers who want to pass extra args to a progam during the build step
(probably as a one-off) without having to reconfigure.
M ./Distribution/Simple.hs -4 +8
M ./Distribution/Simple/Build.hs -7 +3
M ./Distribution/Simple/Setup.hs -47 +52
M ./doc/Cabal.xml -18 +15
More information about the cabal-devel