From: Mike Frysinger Date: Tue, 13 Oct 2015 01:48:58 +0000 (-0400) Subject: toolchain-funcs.eclass: gen_usr_ldscript: disable for android targets X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=bf9884d138a12c9f963e072c206a1d66973716e3;p=gentoo.git 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. --- diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass index b6d1ab0fd1fc..59c28617aec4 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 ;;