summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-09 02:32:06 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-09 02:32:06 +0000
commitd412809bdb9a1b2c7cc97d874b5d7ec0656da3bb (patch)
treed105c344f7e1c7e286da81274d5dc204de11ab8b
parent2f5d58c3cc173752bdfbe9e82442fe71f390135b (diff)
downloadportage-d412809bdb9a1b2c7cc97d874b5d7ec0656da3bb.tar.gz
portage-d412809bdb9a1b2c7cc97d874b5d7ec0656da3bb.tar.bz2
portage-d412809bdb9a1b2c7cc97d874b5d7ec0656da3bb.zip
handle cross-compilers as well
svn path=/main/trunk/; revision=2552
-rwxr-xr-xbin/ebuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 1f573a44f..2d0a2b29c 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -1079,7 +1079,7 @@ dyn_install() {
# Check for files with executable stacks, but only on arches which
# are supported at the moment. Keep this list in sync with
# http://hardened.gentoo.org/gnu-stack.xml (Arch Status)
- case ${CHOST} in
+ case ${CTARGET:-${CHOST}} in
i?86*|ia64*|s390*|x86_64*)
f=$(scanelf -qyRF '%e %p' "${D}") ;;
*)