summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-10-12 21:48:58 -0400
committerMike Frysinger <vapier@gentoo.org>2015-10-12 21:55:16 -0400
commitbf9884d138a12c9f963e072c206a1d66973716e3 (patch)
treee7eb5238964de3a8132a6d5b5965e297a9369ced /eclass/toolchain-funcs.eclass
parentapp-arch/snappy: add new maintainer undersys to metadata (diff)
downloadgentoo-bf9884d138a12c9f963e072c206a1d66973716e3.tar.gz
gentoo-bf9884d138a12c9f963e072c206a1d66973716e3.tar.bz2
gentoo-bf9884d138a12c9f963e072c206a1d66973716e3.zip
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.
Diffstat (limited to 'eclass/toolchain-funcs.eclass')
-rw-r--r--eclass/toolchain-funcs.eclass1
1 files changed, 1 insertions, 0 deletions
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 ;;