patch applied (ghc): Don't use the cc-options from packages when
compiling .hc files
Simon Marlow
simonmarhaskell at gmail.com
Thu Aug 21 11:58:16 EDT 2008
Thu Aug 21 08:55:49 PDT 2008 Simon Marlow <marlowsd at gmail.com>
* Don't use the cc-options from packages when compiling .hc files
Now that we don't include any header files in .hc apart from our own,
the cc-options from packages are at best superfluous, so don't pass
them.
We still pass them to .c compilations, although I've just made changes
to Cabal so that cc-options from a .cabal file are not copied into the
InstalledPackageInfo. Most uses of cc-options in Cabal are clearly
intended to be local to the package, but they were being propagated
everywhere, almost certainly unintentionally.
The way is left open for Cabal to allow packages to specify cc-options
that get propagated in the future, if we find a use case for this.
M ./compiler/main/DriverPipeline.hs -1 +7
View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20080821155549-12142-84f68b7097fb2246fbb3c8941862a130d3cadfe2.gz
More information about the Cvs-ghc
mailing list