diff options
-rwxr-xr-x | bin/ebuild.sh | 2 |
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}") ;; *) |