From 03e4000f6df10225da4ccf45afe07a5871d1a792cd03ceffc13d2a2b6825788f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= Date: Tue, 7 Mar 2023 19:36:21 +0000 Subject: [PATCH] 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 --- swig.changes | 8 ++++++++ swig.spec | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/swig.changes b/swig.changes index e6f7499..03f53c5 100644 --- a/swig.changes +++ b/swig.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Mar 2 12:42:07 UTC 2023 - Martin Liška + +- 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 diff --git a/swig.spec b/swig.spec index e3a7366..90347cf 100644 --- a/swig.spec +++ b/swig.spec @@ -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