summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>2021-04-13 20:27:13 +0200
committerKhem Raj <raj.khem@gmail.com>2021-07-14 09:53:49 -0700
commit4c284c02b4e9718a00dd5cd6e5b098efa1c0c976 (patch)
treeef7c32a040c97f6693c667bd8d2b3282d53ac7a7
parentf8904424faebf1018fd8c6b30a9cb8b47d893cc6 (diff)
downloadmeta-clang-4c284c02b4e9718a00dd5cd6e5b098efa1c0c976.tar.gz
Fix Avenger96 build with TOOLCHAIN="clang"
The problem is Makefiles in u-boot and trusted-firmware hardcoding compiler calls. This should be fixed at some point; until then, use the gcc toolchain for these components. Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
-rw-r--r--conf/nonclangable.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf
index b174603..13905a9 100644
--- a/conf/nonclangable.conf
+++ b/conf/nonclangable.conf
@@ -335,3 +335,8 @@ LTO_pn-libidn2_toolchain-clang = ""
335 335
336#libcairo.so: undefined reference to pthread_mutexattr_init [--no-allow-shlib-undefined] 336#libcairo.so: undefined reference to pthread_mutexattr_init [--no-allow-shlib-undefined]
337LTO_pn-cairo_toolchain-clang = "" 337LTO_pn-cairo_toolchain-clang = ""
338
339# Hardcoded gcc use in makefiles
340TOOLCHAIN_pn-u-boot-stm32mp = "gcc"
341TOOLCHAIN_pn-tf-a-stm32mp = "gcc"
342TOOLCHAIN_pn-tf-a-stm32mp-serialboot = "gcc"