Add -fno-omit-interface-pragmas to SrcLoc, to work around Trac #5252
authorSimon Peyton Jones <simonpj@microsoft.com>
Sat, 11 Jun 2011 13:12:43 +0000 (14:12 +0100)
committerSimon Peyton Jones <simonpj@microsoft.com>
Sat, 11 Jun 2011 13:12:43 +0000 (14:12 +0100)
commit8fb9d66966e99beea793b695edef596ac8d5aea5
tree225fd2c8c4b0f81294834c147efaeabb780ca05d
parent7b5b3b0cab463e108a0132435a28ef19d17cb32b
Add -fno-omit-interface-pragmas to SrcLoc, to work around Trac #5252

We have to do this until the earliest bootstrap compiler
has fixed #5252.  It's no big deal; it just means that
SrcLoc.hi has lots of stuff even when compiling GHC without -O.
Lacking this, you get

  (GHC version 7.0.3 for i386-unknown-mingw32):
reboxProduct: not a product ghc-7.1:SrcLoc.RealSrcLoc{tc r8J}
compiler/basicTypes/SrcLoc.lhs