commit: bde092588bad63b3532084d6a04cf41609151ac9
Author: Steve Arnold <nerdboy <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 12 21:26:15 2017 +0000
Commit: Steve Arnold <nerdboy <AT> gentoo <DOT> org>
CommitDate: Tue Dec 12 21:26:15 2017 +0000
URL: https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=bde09258
crossdev: turn on multilib for bare metal arm cortex-M
* note this is required for a toolchain that supports more than one
cpu/fpu
* also note this needs some toolchain patches for proper multilib
and armv8-M support (currently applied in ada overlay)
* grab from dev.g.o/~nerdboy/files/gcc-6.4.0-arm-patches-1.0.tar.gz
and apply after other patches (or the ned of src_prepare)
Signed-off-by: Steve Arnold <nerdboy <AT> gentoo.org>
crossdev | 3 +++
1 file changed, 3 insertions(+)
diff --git a/crossdev b/crossdev
index 3df7f27..9d614a2 100755
--- a/crossdev
+++ b/crossdev
@@ -1045,6 +1045,9 @@ set_portage() {
# libgcc for all sub-architectures #378387
avr*) set_use_force ${pkg} multilib -pie;
set_use_mask ${pkg} -multilib pie;;
+ *-newlib|*-elf|*-eabi)
+ set_use_force ${pkg} multilib;
+ set_use_mask ${pkg} -multilib;;
*) set_use_force ${pkg} -multilib;;
esac