summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--conf/nonclangable.conf15
1 files changed, 15 insertions, 0 deletions
diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf
index 7e92d71..9da3260 100644
--- a/conf/nonclangable.conf
+++ b/conf/nonclangable.conf
@@ -336,3 +336,18 @@ TOOLCHAIN_pn-u-boot-seco-imx = "gcc"
336 336
337# see https://bugs.llvm.org/show_bug.cgi?id=50443 this is in clang-13, until it is fixed do not use -O2 337# see https://bugs.llvm.org/show_bug.cgi?id=50443 this is in clang-13, until it is fixed do not use -O2
338SELECTED_OPTIMIZATION:remove:pn-poke:toolchain-clang = "-O2" 338SELECTED_OPTIMIZATION:remove:pn-poke:toolchain-clang = "-O2"
339
340# see https://github.com/llvm/llvm-project/issues/53948
341OBJCOPY:pn-opensbi:toolchain-clang = "${HOST_PREFIX}objcopy"
342OBJCOPY:pn-libc-bench:toolchain-clang = "${HOST_PREFIX}objcopy"
343STRIP:pn-libc-bench:toolchain-clang = "${HOST_PREFIX}strip"
344OBJCOPY:pn-aufs-util:toolchain-clang = "${HOST_PREFIX}objcopy"
345STRIP:pn-aufs-util:toolchain-clang = "${HOST_PREFIX}strip"
346
347# Depend on GNU objcopy option missing in llvm-objcopy
348# llvm-objcopy: error: unknown argument '--section-alignment=512'
349OBJCOPY:pn-systemd-boot:toolchain-clang = "${HOST_PREFIX}objcopy"
350
351# Need OBJDUMP during do_package_qa which is set to llvm-objdump with meta-clang
352# it might work with GNU objdump since it falls back to one from build host
353DEPENDS:pn-linux-firmware:append:toolchain-clang = " clang-native"