profiles: riscv: add multilib LDFLAGS and CHOST
authorAndreas K. Hüttel <dilfridge@gentoo.org>
Sun, 5 May 2019 22:22:43 +0000 (00:22 +0200)
committerAndreas K. Hüttel <dilfridge@gentoo.org>
Sun, 5 May 2019 22:22:43 +0000 (00:22 +0200)
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
profiles/arch/riscv/rv64gc/make.defaults

index a98e8e97dd6e5cac9ecb3f378561fca6eb662ecc..25c252da03bf4cad3c2fd676ab8350be27547114 100644 (file)
@@ -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"