- ghc-options:
- -Wall
- -fwarn-hi-shadowing
- -fwarn-missing-signatures
- -fwarn-name-shadowing
- -fwarn-orphans
- -fwarn-type-defaults
- -fwarn-tabs
- -fwarn-incomplete-record-updates
- -fwarn-monomorphism-restriction
- -fwarn-unused-do-bind
- -funbox-strict-fields
- -fexcess-precision
- -fno-spec-constr-count
- -rtsopts
- -threaded
-
- if flag(llvm)
- ghc-options:
- -fllvm
- -optlo-O3
- -optlc-O3
- else
- ghc-options:
- -O2
- -optc-O3
- -optc-march=native
-
- ghc-prof-options:
- -prof
- -auto-all
- -caf-all
-