Accepting request 1068645 from home:marxin:branches:X11:common:Factory

- Use -fexcess-precision=fast as GCC 13 will default to -fexcess-precision=standard
  for C++.

OBS-URL: https://build.opensuse.org/request/show/1068645
OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/icu?expand=0&rev=162
This commit is contained in:
Jan Engelhardt 2023-03-05 20:27:14 +00:00 committed by Git OBS Bridge
parent be6c5ced85
commit b5661f9050
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Mar 2 09:23:48 UTC 2023 - Martin Liška <mliska@suse.cz>
- Use -fexcess-precision=fast as GCC 13 will default to -fexcess-precision=standard
for C++.
-------------------------------------------------------------------
Wed Oct 19 11:22:26 UTC 2022 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package icu
#
# 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 @@ popd
%build
cd source
mkdir -p data/out/tmp # build procedure forgets to do this on its own
export CXXFLAGS="%optflags -DICU_DATA_DIR=\\\"%_datadir/icu/%version/\\\""
export CXXFLAGS="%optflags -DICU_DATA_DIR=\\\"%_datadir/icu/%version/\\\" -fexcess-precision=fast"
export CFLAGS="$CXXFLAGS"
%configure \
--disable-static \