Commit 55349b12 authored by Nick Smallbone's avatar Nick Smallbone
Browse files

Pass cpp-options to UHC.

parent 8630b80a
......@@ -247,6 +247,8 @@ constructUHCCmdLine user system lbi bi clbi odir verbosity =
++ ["-i" ++ odir]
++ ["-i" ++ l | l <- nub (hsSourceDirs bi)]
++ ["-i" ++ autogenModulesDir lbi]
-- cpp options
++ ["--optP=" ++ opt | opt <- cppOptions bi]
-- output path
++ ["--odir=" ++ odir]
-- optimization
......
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