On 06/12/10 23:15, gwri...@antiope.com wrote:
1 patch for repository http://darcs.haskell.org/ghc-7.0/ghc:
Mon Dec 6 15:04:13 EST 2010 gwri...@antiope.com
* Filter out -optP-traditional from cmm build options
The build fails if SRC_HC_OPTS contains -optP-traditional because
making .cmm files requires stripping out comments, which the
-traditional flag prevents. However, If the preprocessor is specified
explicitly using the -pgmP option, the -traditional
flag is usually required. The minimal fix seems to be to filter
out the -traditional flags when building .cmm files.
This patch seems slight invasive, affecting the suffix rules themselves.
I'd like to understand a bit more about why this is necessary - why
does SRC_HC_OPTS contain -optP-traditional in the first place?
Cheers,
Simon
_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc