From 9ccfaa84f19c4c8a871fe0e8514247e3f980c05e Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 11 Nov 2013 23:33:50 -0400 Subject: [PATCH] pass -optl-z -optlnocopyreloc on Android --- git-annex.cabal | 2 ++ 1 file changed, 2 insertions(+) diff --git a/git-annex.cabal b/git-annex.cabal index 848477c187..905b77f97d 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)