diff --git a/openexr.spec b/openexr.spec index 1e962e5..3cf7bc2 100644 --- a/openexr.spec +++ b/openexr.spec @@ -95,6 +95,16 @@ Summary: Development files for %{name} %build +%set_build_flags +%dnl Using F16C intrinsics results in wrong results according to a test. +%dnl It is currently unclear whether the test is at fault, or the CPU +%dnl instructions are not appropriate in this context because they +%dnl canonicalize NaNs. +%dnl +%ifarch x86_64 +CFLAGS="$CFLAGS -mno-f16c" +CXXFLAGS="$CXXFLAGS -mno-f16c" +%endif %cmake %cmake_build @@ -147,6 +157,9 @@ Summary: Development files for %{name} * Mon Jun 26 2023 Richard Shaw - 3.1.9-1 - Upgrade to 3.1.9. +* Mon Jun 19 2023 Florian Weimer - 3.1.8-2 +- Disable F16C intrinsics on x86-64 (#2212579) + * Wed Jun 07 2023 Richard Shaw - 3.1.8-1 - Update to 3.1.8.