diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2019-05-06 00:22:43 +0200 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2019-05-06 00:22:43 +0200 |
commit | 34c4f183f83db87f03f9c2191922f613697378c1 (patch) | |
tree | 0f04a5cb959984decb9d54719f3ca3aa42814126 /profiles | |
parent | profiles: mark riscv profile stable (diff) | |
download | gentoo-34c4f183f83db87f03f9c2191922f613697378c1.tar.gz gentoo-34c4f183f83db87f03f9c2191922f613697378c1.tar.bz2 gentoo-34c4f183f83db87f03f9c2191922f613697378c1.zip |
profiles: riscv: add multilib LDFLAGS and CHOST
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'profiles')
-rw-r--r-- | profiles/arch/riscv/rv64gc/make.defaults | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/profiles/arch/riscv/rv64gc/make.defaults b/profiles/arch/riscv/rv64gc/make.defaults index a98e8e97dd6e..25c252da03bf 100644 --- a/profiles/arch/riscv/rv64gc/make.defaults +++ b/profiles/arch/riscv/rv64gc/make.defaults @@ -20,11 +20,13 @@ SYMLINK_LIB="no" # Flags for lp64d CFLAGS_lp64d="-mabi=lp64d" -# LDFLAGS_lp64d +LDFLAGS_lp64d="-m elf64lriscv" +CHOST_lp64d="riscv64-unknown-linux-gnu" # Flags for lp64 CFLAGS_lp64="-mabi=lp64" -# LDFLAGS_lp64 +LDFLAGS_lp64="-m elf64lriscv_lp64" +CHOST_lp64="riscv64-unknown-linux-gnu" # Enable lp64d by default ABI_RISCV="lp64d" |