summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorAustin Seipp <austin@well-typed.com>2014-04-21 07:22:50 -0500
committerAustin Seipp <austin@well-typed.com>2014-04-21 07:22:52 -0500
commit574ef4293b867609f2d28d85747e01f3ac0d052d (patch)
tree253070c3cd0492e6dda807b6c4a8111c56390ce1 /libraries
parent31dd5e5db965fa9ed30ac5b58514668f92843c01 (diff)
downloadhaskell-574ef4293b867609f2d28d85747e01f3ac0d052d.tar.gz
ghc: Do not add a space in '-U __PIC__'
GHC previously introduced a space here. However, this can in some cases be interpreted as "-U __PIC__" - note that in shell, the -U would still be recognized with an argument, but the argument would be " __PIC__", with a space in front, as opposed to the single string '__PIC__'. In practice most tools seem to handle this OK. But the Coverity Scan analysis tool does not: it errors on the fact that ' __PIC__' is an invalid CPP name to undefine. With this, it seems the Coverity analysis tool can easily analyze the entire GHC build. Signed-off-by: Austin Seipp <austin@well-typed.com>
Diffstat (limited to 'libraries')
0 files changed, 0 insertions, 0 deletions