Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ghc-7.10.3: don't pass compiler or linker flags through a response file
The new GHC version contains a patch [1] that passes linker and compiler flags to GCC via response files rather than directly on the command-line. This is supposed to be beneficial on Windows and other platforms that have trouble dealing with long argument lists. On NixOS, however, this feature breaks the flag handling provided by gcc-wrapper [2] and therefore causes the entire GHC build to fail. This issue has been reported upstream at [3]. It's not clear yet how to remedy this problem, but until we've figured that out we just don't pass compiler flags in response files on NixOS to fix #10752. [1] ghc/ghc@296bc70 [2] #11762 [3] https://ghc.haskell.org/trac/ghc/ticket/11147
- Loading branch information