Accepting request 1070626 from home:marxin:branches: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).

OBS-URL: https://build.opensuse.org/request/show/1070626
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/fmt?expand=0&rev=50
This commit is contained in:
Jan Engelhardt 2023-03-13 11:36:46 +00:00 committed by Git OBS Bridge
parent 2c7995fa56
commit e665ba6a07
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