better android build fix
This commit is contained in:
parent
384e435adf
commit
e3dedd3c89
1 changed files with 4 additions and 2 deletions
|
@ -156,9 +156,11 @@ Executable git-annex
|
||||||
-- Parallel builds only when not building for production,
|
-- Parallel builds only when not building for production,
|
||||||
-- because ghc is known to not yield reproducible builds this way.
|
-- because ghc is known to not yield reproducible builds this way.
|
||||||
if flag(Production)
|
if flag(Production)
|
||||||
|
GHC-Options: -O2
|
||||||
if ! flag(Android)
|
if ! flag(Android)
|
||||||
GHC-Options: -O2 -j1
|
GHC-Options: -j1
|
||||||
else
|
else
|
||||||
|
if ! flag(Android)
|
||||||
GHC-Options: -j
|
GHC-Options: -j
|
||||||
|
|
||||||
if (os(windows))
|
if (os(windows))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue