@@ -13,6 +13,11 @@ TOOLCHAIN:pn-libgcc = "gcc"
TOOLCHAIN:pn-libgfortran = "gcc"
TOOLCHAIN:pn-libssp-nonshared = "gcc"
+# | aarch64-poky-linux-clang: error: invalid argument '-mcmodel=large' only allowed with '-fno-pic'
+# see - https://bugs.gentoo.org/942843
+TOOLCHAIN:pn-grub:aarch64 = "gcc"
+TOOLCHAIN:pn-grub-efi:aarch64 = "gcc"
+
#| ./ports/linux/pseudo_wrappers.c:80:14: error: use of unknown builtin '__builtin_apply' [-Wimplicit-function-declaration]
#| void *res = __builtin_apply((void (*)()) real_syscall, __builtin_apply_args(), sizeof(long) * 7);
#| ^
It needs porting to work with clang Signed-off-by: Khem Raj <raj.khem@gmail.com> --- meta/conf/distro/include/default-toolchains.inc | 5 +++++ 1 file changed, 5 insertions(+)