diff options
author | Joey Hess <joey@kitenet.net> | 2013-11-25 13:01:53 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-11-25 13:01:53 -0400 |
commit | 33f76f48d0698300460d15b92a339c10101dc8e6 (patch) | |
tree | db2c61448d58ee8defc25a7890ba7417b823aec1 /git-annex.cabal | |
parent | 1378f231d9a52c0dcb4b35a44fdc16a4b9020cb2 (diff) |
ensure that Android TH splice is expanded in native side of build
Diffstat (limited to 'git-annex.cabal')
-rw-r--r-- | git-annex.cabal | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/git-annex.cabal b/git-annex.cabal index 130fa07c6..68aba982d 100644 --- a/git-annex.cabal +++ b/git-annex.cabal @@ -56,7 +56,11 @@ Flag Production Description: Enable production build (slower build; faster binary) Flag Android - Description: Building for Android + Description: Cross building for Android + Default: False + +Flag AndroidSplice + Description: Building to get TH splices for Android Default: False Flag TestSuite @@ -155,7 +159,9 @@ Executable git-annex if flag(Android) Build-Depends: data-endian - CPP-Options: -D__ANDROID__ + CPP-Options: -D__ANDROID__ -DANDROID_SPLICES + if flag(AndroidSplices) + CPP-Options: -DANDROID_SPLICES if flag(Webapp) && (! os(windows)) Build-Depends: |