diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2021-06-08 21:10:34 +0200 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2021-06-08 22:13:08 +0200 |
commit | e9de55e783f386e9366434d541e8e1eeba6d0c8f (patch) | |
tree | 828df5613db44ab60749fd1980ee3fbc348e609f /eclass | |
parent | sys-boot/grub: add 2.06 (diff) | |
download | gentoo-e9de55e783f386e9366434d541e8e1eeba6d0c8f.tar.gz gentoo-e9de55e783f386e9366434d541e8e1eeba6d0c8f.tar.bz2 gentoo-e9de55e783f386e9366434d541e8e1eeba6d0c8f.zip |
multilib.eclass: Default values, not fixed values, for risc-v libdir
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/multilib.eclass | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/eclass/multilib.eclass b/eclass/multilib.eclass index 095e3a4f4508..93c062cb36ac 100644 --- a/eclass/multilib.eclass +++ b/eclass/multilib.eclass @@ -399,22 +399,22 @@ multilib_env() { export CFLAGS_lp64d=${CFLAGS_lp64d--mabi=lp64d -march=rv64imafdc} export CHOST_lp64d=${CTARGET} export CTARGET_lp64d=${CTARGET} - export LIBDIR_lp64d="lib64/lp64d" + export LIBDIR_lp64d=${LIBDIR_lp64d-lib64/lp64d} export CFLAGS_lp64=${CFLAGS_lp64--mabi=lp64 -march=rv64imac} export CHOST_lp64=${CTARGET} export CTARGET_lp64=${CTARGET} - export LIBDIR_lp64="lib64/lp64" + export LIBDIR_lp64=${LIBDIR_lp64-lib64/lp64} export CFLAGS_ilp32d=${CFLAGS_ilp32d--mabi=ilp32d -march=rv32imafdc} export CHOST_ilp32d=${CTARGET/riscv64/riscv32} export CTARGET_ilp32d=${CTARGET/riscv64/riscv32} - export LIBDIR_ilp32d="lib32/ilp32d" + export LIBDIR_ilp32d=${LIBDIR_ilp32d-lib32/ilp32d} export CFLAGS_ilp32=${CFLAGS_ilp32--mabi=ilp32 -march=rv32imac} export CHOST_ilp32=${CTARGET/riscv64/riscv32} export CTARGET_ilp32=${CTARGET/riscv64/riscv32} - export LIBDIR_ilp32="lib32/ilp32" + export LIBDIR_ilp32=${LIBDIR_ilp32-lib32/ilp32} : ${MULTILIB_ABIS=lp64d lp64 ilp32d ilp32} : ${DEFAULT_ABI=lp64d} @@ -423,12 +423,12 @@ multilib_env() { export CFLAGS_ilp32d=${CFLAGS_ilp32d--mabi=ilp32d} export CHOST_ilp32d=${CTARGET} export CTARGET_ilp32d=${CTARGET} - export LIBDIR_ilp32d="lib32/ilp32d" + export LIBDIR_ilp32d=${LIBDIR_ilp32d-lib32/ilp32d} export CFLAGS_ilp32=${CFLAGS_ilp32--mabi=ilp32 -march=rv32imac} export CHOST_ilp32=${CTARGET} export CTARGET_ilp32=${CTARGET} - export LIBDIR_ilp32="lib32/ilp32" + export LIBDIR_ilp32=${LIBDIR_ilp32-lib32/ilp32} : ${MULTILIB_ABIS=ilp32d ilp32} : ${DEFAULT_ABI=ilp32d} |