summaryrefslogtreecommitdiff
path: root/profiles/arch/riscv/make.defaults
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-01-04 01:27:12 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-01-04 01:27:12 +0000
commit3517852e3b8a68d1e997770fc0650c5053bafc6c (patch)
tree44068672445b1418489aed82de58df3c470289e7 /profiles/arch/riscv/make.defaults
parent0f15659d48c193027158492acb726297501202c5 (diff)
gentoo resync : 04.01.2022
Diffstat (limited to 'profiles/arch/riscv/make.defaults')
-rw-r--r--profiles/arch/riscv/make.defaults12
1 files changed, 11 insertions, 1 deletions
diff --git a/profiles/arch/riscv/make.defaults b/profiles/arch/riscv/make.defaults
index 3a7d4ac18e7f..6006d582a10a 100644
--- a/profiles/arch/riscv/make.defaults
+++ b/profiles/arch/riscv/make.defaults
@@ -15,6 +15,15 @@ FCFLAGS="${CFLAGS}"
SYMLINK_LIB="no"
+# Note about LIBDIR_*:
+# 1) To keep in step with other arches and distributions we use "lib" for 32bit
+# and "lib64" for 64bit for the *default* ABI.
+# NOT the two level dirs from the specification, and NOT lib32 as specified
+# as 32bit fallback.
+# 2) The LIBDIRs provided *here* are the ones for secondary ABI in the multilib
+# case.
+# The LIBDIR for the *primary* ABI MUST be overridden in an inheriting profile.
+
# Flags for lp64d
LIBDIR_lp64d="lib64/lp64d"
CFLAGS_lp64d="-mabi=lp64d"
@@ -42,7 +51,8 @@ CHOST_ilp32="riscv32-unknown-linux-gnu"
# Since many people will want to test this in qemu...
FEATURES="-pid-sandbox -network-sandbox -ipc-sandbox"
-# The following stuff is, e.g., defined in subdirs:
+# The following stuff MUST be defined in subdirs:
# ABI
# DEFAULT_ABI
# MULTILIB_ABIS
+# LIBDIR_* for DEFAULT_ABI