Skip to content

Commit

Permalink
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 <[email protected]>
  • Loading branch information
kraj committed Sep 18, 2024
1 parent f0f9bb2 commit a4226e4
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
Expand Up @@ -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 a4226e4

Please sign in to comment.