From 34c4f183f83db87f03f9c2191922f613697378c1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andreas=20K=2E=20H=C3=BCttel?= Date: Mon, 6 May 2019 00:22:43 +0200 Subject: [PATCH] profiles: riscv: add multilib LDFLAGS and CHOST MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas K. Hüttel --- profiles/arch/riscv/rv64gc/make.defaults | 6 ++++-- 1 file 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" -- 2.26.2