Accepting request 1071110 from devel:libraries:c_c++

- Use -ffloat-store as a fix for excessive precision provided
  by X87 on i686 target (https://github.com/fmtlib/fmt/issues/3337). (forwarded request 1070626 from marxin)

OBS-URL: https://build.opensuse.org/request/show/1071110
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fmt?expand=0&rev=21
This commit is contained in:
Dominique Leuenberger 2023-03-14 17:15:42 +00:00 committed by Git OBS Bridge
commit c85ad8bdcf
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Mar 10 08:14:22 UTC 2023 - Martin Liška <mliska@suse.cz>
- Use -ffloat-store as a fix for excessive precision provided
by X87 on i686 target (https://github.com/fmtlib/fmt/issues/3337).
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Aug 28 06:35:23 UTC 2022 - Jan Engelhardt <jengelh@inai.de> Sun Aug 28 06:35:23 UTC 2022 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package fmt # spec file for package fmt
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2023 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -50,6 +50,8 @@ Development files for fmt, a formatting library for C++.
%autosetup -p1 %autosetup -p1
%build %build
# X87 fix for excessive precision: https://github.com/fmtlib/fmt/issues/3337
%global optflags %optflags -ffloat-store
%cmake -DCMAKE_INSTALL_INCLUDEDIR:PATH=%{_includedir} %cmake -DCMAKE_INSTALL_INCLUDEDIR:PATH=%{_includedir}
%cmake_build %cmake_build