libjxl: Fix build error with arm and musl

Build fails for qemuarm with musl with following error:
/build/tmp/work/cortexa15t2hf-neon-poky-linux-musleabi/libjxl/0.11.1/sources/libjxl-0.11.1/lib/jxl/convolve_separable5.cc
| error: out of range pc-relative fixup value

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Ankur Tyagi 2026-01-08 07:11:38 +13:00 committed by Khem Raj
parent 30942cebe8
commit 63ae47a70d
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -46,5 +46,8 @@ PACKAGECONFIG[sizeless-vectors] = "-DJPEGXL_ENABLE_SIZELESS_VECTORS=ON,-DJPEGXL_
# lcms/src/cmsps2.c
# error: out of range pc-relative fixup value
CFLAGS:append:toolchain-clang:arm = " -fno-integrated-as"
# lib/jxl/convolve_separable5.cc
# error: out of range pc-relative fixup value
CXXFLAGS:append:toolchain-clang:arm = " -fno-integrated-as"
FILES:${PN} += "${libdir}/gdk-pixbuf-2.0 ${datadir}"