Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libjxl: Use -Og instead of -O2 with clang-19
Browse files Browse the repository at this point in the history
This is a workaround until [1] is fixed

[1] llvm/llvm-project#108262

Signed-off-by: Khem Raj <raj.khem@gmail.com>
kraj committed Sep 13, 2024
1 parent 8177855 commit 6156a07
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions conf/nonclangable.conf
Original file line number Diff line number Diff line change
@@ -662,3 +662,7 @@ 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)}"
TOOLCHAIN:pn-perf = "gcc"

# See https://github.com/llvm/llvm-project/issues/108262
SELECTED_OPTIMIZATION:remove:pn-libjxl:arm:toolchain-clang = "-O2"
SELECTED_OPTIMIZATION:append:pn-libjxl:arm:toolchain-clang = " -Og"

0 comments on commit 6156a07

Please sign in to comment.