From: Andreas K. Hüttel Date: Sun, 5 May 2019 22:22:43 +0000 (+0200) Subject: profiles: riscv: add multilib LDFLAGS and CHOST X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=34c4f183f83db87f03f9c2191922f613697378c1;p=gentoo.git profiles: riscv: add multilib LDFLAGS and CHOST Signed-off-by: Andreas K. Hüttel --- 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"