Skip to content

Commit

Permalink
libunix-statgrab: Use compiler for linker always irrespective of comp…
Browse files Browse the repository at this point in the history
…iler

Signed-off-by: Khem Raj <[email protected]>
  • Loading branch information
kraj committed Oct 11, 2024
1 parent 52810ca commit ebcfaee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion conf/nonclangable.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# introduced in oe-core 8905639d breaks the handling of runtime exception when build with clang

TUNE_CCARGS:remove:toolchain-clang = "${@bb.utils.contains('TUNE_FEATURES', 'aarch64', '-mbranch-protection=standard', '', d)}"

# https://github.com/llvm/llvm-project/issues/78337
Expand Down Expand Up @@ -659,6 +659,8 @@ LDFLAGS:append:pn-bluez5:toolchain-clang = "${@bb.utils.contains('DISTRO_FEATURE

LD:pn-gnu-efi:toolchain-clang = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', '${HOST_PREFIX}ld.bfd${TOOLCHAIN_OPTIONS} ${HOST_LD_ARCH}', '${HOST_PREFIX}ld${TOOLCHAIN_OPTIONS} ${HOST_LD_ARCH}', d)}"
LD:pn-libhugetlbfs:toolchain-clang = "${HOST_PREFIX}ld.bfd${TOOLCHAIN_OPTIONS} ${HOST_LD_ARCH}"
LD:pn-libunix-statgrab:toolchain-clang = "${CC}"

TOOLCHAIN:pn-perf = "gcc"

# See https://github.com/llvm/llvm-project/issues/108262
Expand Down

0 comments on commit ebcfaee

Please sign in to comment.