Skip to content

Commit

Permalink
perf: Use gcc as default compiler
Browse files Browse the repository at this point in the history
Since its being build from kernel sources which are procecced with
gcc by default KERNEL_CC is gcc, its a constant battle to keep this
compiling with clang, so unless clang is also used to compile kernel
this is a fruitless excercise to use clang just for perf.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
  • Loading branch information
kraj committed Jul 23, 2024
1 parent 1fdde55 commit 9fadcea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions conf/nonclangable.conf
Original file line number Diff line number Diff line change
Expand Up @@ -642,3 +642,4 @@ LDFLAGS:remove:pn-bluez5:toolchain-clang = "${@bb.utils.contains('DISTRO_FEATURE
LDFLAGS:append:pn-bluez5:toolchain-clang = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', ' -fuse-ld=bfd', '', d)}"

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)}"
TOOLCHAIN:pn-perf = "gcc"

0 comments on commit 9fadcea

Please sign in to comment.