diff --git a/openexr.spec b/openexr.spec index de5bb08..c6805b8 100644 --- a/openexr.spec +++ b/openexr.spec @@ -3,7 +3,7 @@ Name: openexr Version: 3.1.8 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Provides the specification and reference implementation of the EXR file format License: BSD @@ -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 @@ -144,6 +154,9 @@ Summary: Development files for %{name} %changelog +* 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.