--- glibc-2.6.ebuild 2007-07-27 14:54:37.000000000 +0300 +++ glibc-2.6.ebuild 2007-07-27 14:03:17.000000000 +0300 @@ -907,7 +907,7 @@ glibc_do_configure() { # Since SELinux support is only required for nscd, only enable it if: # 1. USE selinux # 2. only for the primary ABI on multilib systems - if use selinux ; then + if ! is_crosscompile && use selinux ; then if use multilib || has_multilib_profile ; then if is_final_abi ; then myconf="${myconf} --with-selinux"