patch applied (cabal): Don't propagate cc-options to the InstalledPackageInfo
Thu Aug 21 06:25:51 PDT 2008 Simon Marlow <marlowsd@gmail.com> * Don't propagate cc-options to the InstalledPackageInfo cc-options is for options to be passed to C compilations in the current package. If we propagate those options to the InstalledPackageInfo, they get passed to C compilations in any package that depends on this one, which could be disastrous. I've seen cc-options like these: cc-options: -optc-std=c99 cc-options: -D_FILE_OFFSET_BITS=64 Cc-options: -Wall these are all clearly intended to be local, but are in fact currently propagated to all dependent packages. M ./Distribution/Simple/Register.hs -2 +5 View patch online: http://darcs.haskell.org/cabal/_darcs/patches/20080821132551-12142-e4ddc118b...
participants (1)
-
Simon Marlow