Commit 52264c5d authored by Simon Marlow's avatar Simon Marlow
Browse files

Don't pass cc-options to Haskell compilations

This has no effect with GHC 6.9, and with earlier GHC's it was a
misuse of cc-options.
parent c6afec6a
......@@ -678,7 +678,6 @@ ghcOptions lbi bi odir
++ ["-I" ++ odir]
++ ["-I" ++ dir | dir <- PD.includeDirs bi]
++ ["-optP" ++ opt | opt <- cppOptions bi]
++ ["-optc" ++ opt | opt <- PD.ccOptions bi]
++ [ "-optP-include", "-optP"++ (autogenModulesDir lbi </> cppHeaderName) ]
++ [ "-#include \"" ++ inc ++ "\"" | inc <- PD.includes bi ]
++ [ "-odir", odir, "-hidir", odir ]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment