toolchain-funcs.eclass: gen_usr_ldscript: disable for android targets
authorMike Frysinger <vapier@gentoo.org>
Tue, 13 Oct 2015 01:48:58 +0000 (21:48 -0400)
committerMike Frysinger <vapier@gentoo.org>
Tue, 13 Oct 2015 01:55:16 +0000 (21:55 -0400)
Android systems are guaranteed to not have split filesystems,
so disable ldscript logic for them.

eclass/toolchain-funcs.eclass

index b6d1ab0fd1fcadfec42e3bc2c32828d1ebfa21a1..59c28617aec41125e9c377c9be1ae681f84729d3 100644 (file)
@@ -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 ;;