Accepting request 1069523 from home:marxin:branches:devel:tools:building

- Use -fexcess-precision=fast as GCC 13 changes the default
  for C++ compiler and without the change some tests fail on i586.
  More info can be seen here:
  https://gcc.gnu.org/gcc-13/porting_to.html#excess-precision

OBS-URL: https://build.opensuse.org/request/show/1069523
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=146
This commit is contained in:
Klaus Kämpf 2023-03-07 19:36:21 +00:00 committed by Git OBS Bridge
parent 3568643f46
commit 03e4000f6d
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Mar 2 12:42:07 UTC 2023 - Martin Liška <mliska@suse.cz>
- Use -fexcess-precision=fast as GCC 13 changes the default
for C++ compiler and without the change some tests fail on i586.
More info can be seen here:
https://gcc.gnu.org/gcc-13/porting_to.html#excess-precision
-------------------------------------------------------------------
Thu Dec 1 08:30:26 UTC 2022 - Klaus Kämpf <kkaempf@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package swig
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -136,7 +136,7 @@ make %{?_smp_mflags}
%if 0%{?suse_version} >= 1500 || 0%{?centos_version} >= 800
export PY3=true
%endif
make %{?_smp_mflags} check
make %{?_smp_mflags} check EXTRA_CXXFLAGS="-fexcess-precision=fast"
%install
%make_install