aboutsummaryrefslogtreecommitdiff
path: root/git-annex.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'git-annex.cabal')
-rw-r--r--git-annex.cabal2
1 files changed, 2 insertions, 0 deletions
diff --git a/git-annex.cabal b/git-annex.cabal
index 848477c18..905b77f97 100644
--- a/git-annex.cabal
+++ b/git-annex.cabal
@@ -131,6 +131,8 @@ Executable git-annex
if flag(Android)
Build-Depends: data-endian
CPP-Options: -D__ANDROID__
+ -- Avoid R_ARM_COPY problem which breaks Android linker
+ GHC-Options: -optl-z -optlnocopyreloc
if flag(Assistant)
if os(linux) && flag(Inotify)