aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-10-27 23:58:57 -0400
committerMike Frysinger <vapier@gentoo.org>2010-10-27 23:58:57 -0400
commit70b4fc772af4ddf78819fd84eb95211c3aee5be5 (patch)
tree9a7ed43123d18d6e7cb37aa6a5941abc9c2807dd /wrappers/emerge-wrapper
parentemerge-wrapper: restore __CHOST__ replacement (diff)
downloadcrossdev-70b4fc772af4ddf78819fd84eb95211c3aee5be5.tar.gz
crossdev-70b4fc772af4ddf78819fd84eb95211c3aee5be5.tar.bz2
crossdev-70b4fc772af4ddf78819fd84eb95211c3aee5be5.zip
emerge-wrapper: use EM_386 for ARCH=x86
There is no such "EM_X86" machine type. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'wrappers/emerge-wrapper')
-rwxr-xr-xwrappers/emerge-wrapper1
1 files changed, 1 insertions, 0 deletions
diff --git a/wrappers/emerge-wrapper b/wrappers/emerge-wrapper
index fb4662a..d900784 100755
--- a/wrappers/emerge-wrapper
+++ b/wrappers/emerge-wrapper
@@ -53,6 +53,7 @@ cross_wrap_etc()
hppa) E_MACHINE=PARISC ;;
ia64) E_MACHINE=IA_64 ;;
m68k) E_MACHINE=68K ;;
+ x86) E_MACHINE=386 ;;
*) E_MACHINE=`echo ${ARCH} | tr '[:lower:]' '[:upper:]'` ;;
esac
E_MACHINE="EM_${E_MACHINE}"