Thu Aug 21 06:25:51 PDT 2008  Simon Marlow <[EMAIL PROTECTED]>
  * 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-e4ddc118b2c842da0f977f73a13c627fd0ed630a.gz

_______________________________________________
cabal-devel mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cabal-devel

Reply via email to