aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2009-11-22 22:51:24 -0500
committerMike Frysinger <vapier@gentoo.org>2009-11-22 22:52:11 -0500
commit2f897c523751cb71c619f8dd66e69bb22ae9b19f (patch)
tree7df894ef6852798a835b62ce59e199987d24551b /wrappers/emerge-wrapper
parentemerge-wrapper: add superh support (diff)
downloadcrossdev-2f897c523751cb71c619f8dd66e69bb22ae9b19f.tar.gz
crossdev-2f897c523751cb71c619f8dd66e69bb22ae9b19f.tar.bz2
crossdev-2f897c523751cb71c619f8dd66e69bb22ae9b19f.zip
emerge-wrapper: try to accept all chost combos #282311
Signed-off-by: Ned Ludd <solar@gentoo.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'wrappers/emerge-wrapper')
-rwxr-xr-xwrappers/emerge-wrapper2
1 files changed, 1 insertions, 1 deletions
diff --git a/wrappers/emerge-wrapper b/wrappers/emerge-wrapper
index cb04414..b050ad8 100755
--- a/wrappers/emerge-wrapper
+++ b/wrappers/emerge-wrapper
@@ -51,7 +51,7 @@ cross_init() {
bn=$(basename $0)
[[ $bn != emerge-wrapper ]] && { echo "I wont understand things" ; exit 1; }
dn=$(dirname $(readlink -f $0))
- chosts=$(gcc-config -l | awk '{print $2}'| grep -- -| cut -d '-' -f 1-4| sort -u)
+ chosts=`ls -1 /usr/lib/gcc`
cd $dn || { echo "Failed to cd to $dn" ; exit 1; }
export overlay=$(portageq envvar PORTDIR_OVERLAY)
export portdir=$(portageq envvar PORTDIR)