Cabal: Use -O0 for development builds
Can be configured with `--flags=-production` Time for full build on my machine: 2m -> 45s
This commit is contained in:
parent
a7f0014a53
commit
cab398c945
1 changed files with 2 additions and 0 deletions
|
@ -394,6 +394,8 @@ Executable git-annex
|
|||
GHC-Options: -O2 -optlo-O2
|
||||
else
|
||||
GHC-Options: -O2
|
||||
else
|
||||
GHC-Options: -O0
|
||||
|
||||
-- Avoid linking with unused dynamic libaries.
|
||||
-- (Only tested on Linux).
|
||||
|
|
Loading…
Reference in a new issue