commit:     bf9884d138a12c9f963e072c206a1d66973716e3
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 13 01:48:58 2015 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Tue Oct 13 01:55:16 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf9884d1

toolchain-funcs.eclass: gen_usr_ldscript: disable for android targets

Android systems are guaranteed to not have split filesystems,
so disable ldscript logic for them.

 eclass/toolchain-funcs.eclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass
index b6d1ab0..59c2861 100644
--- a/eclass/toolchain-funcs.eclass
+++ b/eclass/toolchain-funcs.eclass
@@ -725,6 +725,7 @@ gen_usr_ldscript() {
        # Eventually we'd like to get rid of this func completely #417451
        case ${CTARGET:-${CHOST}} in
        *-darwin*) ;;
+       *-android*) return 0 ;;
        *linux*|*-freebsd*|*-openbsd*|*-netbsd*)
                use prefix && return 0 ;;
        *) return 0 ;;

Reply via email to