ktx-software: Disable AVX on x86_64

When using x86-64-v3 AVX gets enabled by default and
this does not work well with ktx dependencies e.g. basisu

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2025-08-13 20:05:33 -07:00
parent 2d8d6ec229
commit 839b3078cd
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -13,4 +13,7 @@ SRCREV = "beef80159525d9fb7abb8645ea85f4c4f6842e8f"
inherit cmake
# BASISU does not work with avx
TUNE_CCARGS:append:x86-64 = " -mno-avx"
PACKAGECONFIG[ocl_backend] = "-DBASISU_SUPPORT_OPENCL=ON, -DBASISU_SUPPORT_OPENCL=OFF, virtual/opencl-icd"