summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-08-23 08:44:14 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-08-23 08:44:14 +0100
commit05a34d98821265bf73820931936f86704b9002c6 (patch)
tree0695bbc0d5d5ec59f2d1d6a1a99d4717d5294fe4 /eclass
parentf019a919bf109460ee009a5f9210b99d0467db97 (diff)
gentoo auto-resync : 23:08:2022 - 08:44:14
Diffstat (limited to 'eclass')
-rw-r--r--eclass/Manifest.gzbin36991 -> 36991 bytes
-rw-r--r--eclass/toolchain.eclass13
2 files changed, 11 insertions, 2 deletions
diff --git a/eclass/Manifest.gz b/eclass/Manifest.gz
index f0b26900f25e..e63c6a26180f 100644
--- a/eclass/Manifest.gz
+++ b/eclass/Manifest.gz
Binary files differ
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index ed473e0c626f..5c6e39472a58 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1187,8 +1187,6 @@ toolchain_src_configure() {
fi
done
- # Convert armv6m to armv6-m
- [[ ${arm_arch} == armv6m ]] && arm_arch=armv6-m
# Convert armv7{a,r,m} to armv7-{a,r,m}
[[ ${arm_arch} == armv7? ]] && arm_arch=${arm_arch/7/7-}
# See if this is a valid --with-arch flag
@@ -1213,6 +1211,17 @@ toolchain_src_configure() {
armv7*) confgcc+=( --with-fpu=vfpv3-d16 ) ;;
esac
fi
+
+ # If multilib is used, make the compiler build multilibs
+ # for A or R and M architecture profiles. Do this only
+ # when no specific arch/mode/float is specified, e.g.
+ # for target arm-none-eabi, since doing this is
+ # incompatible with --with-arch/cpu/float/fpu.
+ if is_multilib && [[ ${arm_arch} == arm ]] && \
+ tc_version_is_at_least 7.1
+ then
+ confgcc+=( --with-multilib-list=aprofile,rmprofile )
+ fi
;;
mips)
# Add --with-abi flags to set default ABI