diff options
-rw-r--r-- | conf/nonclangable.conf | 15 |
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 |
338 | SELECTED_OPTIMIZATION:remove:pn-poke:toolchain-clang = "-O2" | 338 | SELECTED_OPTIMIZATION:remove:pn-poke:toolchain-clang = "-O2" |
339 | |||
340 | # see https://github.com/llvm/llvm-project/issues/53948 | ||
341 | OBJCOPY:pn-opensbi:toolchain-clang = "${HOST_PREFIX}objcopy" | ||
342 | OBJCOPY:pn-libc-bench:toolchain-clang = "${HOST_PREFIX}objcopy" | ||
343 | STRIP:pn-libc-bench:toolchain-clang = "${HOST_PREFIX}strip" | ||
344 | OBJCOPY:pn-aufs-util:toolchain-clang = "${HOST_PREFIX}objcopy" | ||
345 | STRIP: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' | ||
349 | OBJCOPY: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 | ||
353 | DEPENDS:pn-linux-firmware:append:toolchain-clang = " clang-native" | ||