Accepting request 715464 from home:marxin:branches:devel:libraries:c_c++

- Add floating-point-format-no-lto.patch in order to fix assembler scanning
  (boo#1141190).

OBS-URL: https://build.opensuse.org/request/show/715464
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/mpfr?expand=0&rev=58
This commit is contained in:
Richard Biener 2019-07-15 12:53:12 +00:00 committed by Git OBS Bridge
parent a1fcc2b453
commit f829e63b51
3 changed files with 23 additions and 2 deletions

View File

@ -0,0 +1,13 @@
diff --git a/configure b/configure
index 6581c68..a82593c 100755
--- a/configure
+++ b/configure
@@ -16158,7 +16158,7 @@ foo_t foo = {
};
EOF
- mpfr_compile="$CC $CFLAGS $CPPFLAGS -c conftest.c >&5 2>&1"
+ mpfr_compile="$CC $CFLAGS $CPPFLAGS -c conftest.c -fno-lto >&5 2>&1"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$mpfr_compile\""; } >&5
(eval $mpfr_compile) 2>&5
ac_status=$?

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jul 15 11:26:24 UTC 2019 - Martin Liška <mliska@suse.cz>
- Add floating-point-format-no-lto.patch in order to fix assembler scanning
(boo#1141190).
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Feb 1 08:32:04 UTC 2019 - rguenther@suse.com Fri Feb 1 08:32:04 UTC 2019 - rguenther@suse.com

View File

@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
@ -20,13 +20,14 @@ Name: mpfr
Version: 4.0.2 Version: 4.0.2
Release: 0 Release: 0
Summary: The GNU multiple-precision floating-point library Summary: The GNU multiple-precision floating-point library
License: LGPL-3.0+ License: LGPL-3.0-or-later
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Url: http://www.mpfr.org/ Url: http://www.mpfr.org/
Source0: http://www.mpfr.org/mpfr-%{version}/mpfr-%{version}.tar.bz2 Source0: http://www.mpfr.org/mpfr-%{version}/mpfr-%{version}.tar.bz2
Source1: http://www.mpfr.org/mpfr-%{version}/mpfr-%{version}.tar.bz2.asc Source1: http://www.mpfr.org/mpfr-%{version}/mpfr-%{version}.tar.bz2.asc
Source2: %{name}.keyring Source2: %{name}.keyring
Source3: baselibs.conf Source3: baselibs.conf
Patch0: floating-point-format-no-lto.patch
BuildRequires: gmp-devel BuildRequires: gmp-devel
BuildRequires: pkgconfig BuildRequires: pkgconfig
@ -67,6 +68,7 @@ based on the GMP multiple-precision library.
%prep %prep
%setup -q %setup -q
%patch0 -p1
%build %build
%configure \ %configure \