summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorJason A. Donenfeld <zx2c4@gentoo.org>2018-09-28 01:40:59 +0200
committerJason A. Donenfeld <zx2c4@gentoo.org>2018-09-28 01:46:34 +0200
commit9610ee1b91ab306c282cc8045be9a057e70e64db (patch)
treef73277c6d0b4710cfc2dcf3fb4302d0d6f6ccb85 /eclass
parentsys-kernel/gentoo-sources: Linux patch 4.9.129 (diff)
downloadgentoo-9610ee1b91ab306c282cc8045be9a057e70e64db.tar.gz
gentoo-9610ee1b91ab306c282cc8045be9a057e70e64db.tar.bz2
gentoo-9610ee1b91ab306c282cc8045be9a057e70e64db.zip
multilib: mips64 is sometimes called mipsisa64
This is the case for tuples like `mipsisa64r6-pc-linux-gnu`, which are required for making a working mips64r6 compiler. Signed-off-by: Jason A. Donenfeld <zx2c4@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/multilib.eclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/eclass/multilib.eclass b/eclass/multilib.eclass
index 9a81a02d91d0..393f0db073c3 100644
--- a/eclass/multilib.eclass
+++ b/eclass/multilib.eclass
@@ -354,6 +354,7 @@ multilib_env() {
mips64*|mipsisa64*)
export CFLAGS_o32=${CFLAGS_o32--mabi=32}
export CHOST_o32=${CTARGET/mips64/mips}
+ export CHOST_o32=${CHOST_o32/mipsisa64/mipsisa32}
export CTARGET_o32=${CHOST_o32}
export LIBDIR_o32="lib"