pass -optl-z -optlnocopyreloc on Android

This commit is contained in:
Joey Hess 2013-11-11 23:33:50 -04:00
parent 513368e0cc
commit 9ccfaa84f1

View file

@ -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)