-
Committer:
Reid Barton
-
Author(s):
Erik de Castro Lopo
-
Date:
2015-04-05 18:56:02 UTC
-
Revision ID:
git-v1:a281856375beaf9082010c445599446faad6beb9
Fix error when cross-compiling during GHC build.
When `hsc2hs` is built and used in the GHC build process and GHC
is being built as a cross compiler, the build process calls `hsc2hs`
with `--cflag=-Werror=unused-but-set-variable` but some of the
generated code failed with this error turned on.
Closes: https://ghc.haskell.org/trac/ghc/ticket/10237