diff options
-rw-r--r-- | eclass/multilib.eclass | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/eclass/multilib.eclass b/eclass/multilib.eclass index 483f8d10c721..b14b0ef77857 100644 --- a/eclass/multilib.eclass +++ b/eclass/multilib.eclass @@ -368,6 +368,15 @@ multilib_env() { ;; esac ;; + loongarch64*) + export CFLAGS_lp64d=${CFLAGS_lp64d--mabi=lp64d} + export CHOST_lp64d=${CTARGET} + export CTARGET_lp64d=${CTARGET} + export LIBDIR_lp64d=${LIBDIR_lp64d-lib64} + + : ${MULTILIB_ABIS=lp64d} + : ${DEFAULT_ABI=lp64d} + ;; mips64*|mipsisa64*) export CFLAGS_o32=${CFLAGS_o32--mabi=32} export CHOST_o32=${CTARGET/mips64/mips} |