From d412809bdb9a1b2c7cc97d874b5d7ec0656da3bb Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 9 Jan 2006 02:32:06 +0000 Subject: handle cross-compilers as well svn path=/main/trunk/; revision=2552 --- bin/ebuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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}") ;; *) -- cgit v1.2.3-1-g7c22