pass -optl-z -optlnocopyreloc on Android
This commit is contained in:
parent
513368e0cc
commit
9ccfaa84f1
1 changed files with 2 additions and 0 deletions
|
@ -131,6 +131,8 @@ Executable git-annex
|
||||||
if flag(Android)
|
if flag(Android)
|
||||||
Build-Depends: data-endian
|
Build-Depends: data-endian
|
||||||
CPP-Options: -D__ANDROID__
|
CPP-Options: -D__ANDROID__
|
||||||
|
-- Avoid R_ARM_COPY problem which breaks Android linker
|
||||||
|
GHC-Options: -optl-z -optlnocopyreloc
|
||||||
|
|
||||||
if flag(Assistant)
|
if flag(Assistant)
|
||||||
if os(linux) && flag(Inotify)
|
if os(linux) && flag(Inotify)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue