profiles: tuning of riscv lp64 non-multilib
authorAndreas K. Hüttel <dilfridge@gentoo.org>
Mon, 27 May 2019 23:06:03 +0000 (01:06 +0200)
committerAndreas K. Hüttel <dilfridge@gentoo.org>
Mon, 27 May 2019 23:07:09 +0000 (01:07 +0200)
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
profiles/arch/riscv/rv64gc/lp64/make.defaults
profiles/arch/riscv/rv64gc/lp64/use.force [new file with mode: 0644]

index fd46d5c1688648612ba3b11105782025cea0a55d..e9ab1650b5594b0f37fdde7fa9d8890a1a746c7e 100644 (file)
@@ -10,6 +10,8 @@ FCFLAGS="${CFLAGS}"
 
 # We have only one ABI
 MULTILIB_ABIS="lp64"
+DEFAULT_ABI="lp64"
+ABI="lp64"
 
 # We hide the useflags for the ABIs
 USE_EXPAND_HIDDEN="ABI_RISCV"
diff --git a/profiles/arch/riscv/rv64gc/lp64/use.force b/profiles/arch/riscv/rv64gc/lp64/use.force
new file mode 100644 (file)
index 0000000..d04bb8b
--- /dev/null
@@ -0,0 +1,5 @@
+# Un-force the original multilib default-abi flag
+-abi_riscv_lp64d
+
+# Force the abi of this profile here
+abi_riscv_lp64