diff options
Diffstat (limited to 'packaging/libjxl.spec')
-rw-r--r-- | packaging/libjxl.spec | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packaging/libjxl.spec b/packaging/libjxl.spec index 92af1d7..d09134a 100644 --- a/packaging/libjxl.spec +++ b/packaging/libjxl.spec @@ -44,6 +44,9 @@ Description: JPEG XL encoder and decoder library (tools) cp %{SOURCE1} . %build +%if "%{asan}" == "1" +sed -i 's/-fmerge-all-constants/-fno-merge-all-constants/g' lib/CMakeLists.txt +%endif %cmake . -DCMAKE_BUILD_TYPE=Release \ -DBUILD_TESTING=OFF \ %if %{enable_tools} |