From 298e52729abd18c6b581527b8746043c3ad5cd3b Mon Sep 17 00:00:00 2001 From: s Date: Fri, 28 Jul 2023 10:14:15 +0800 Subject: [PATCH] fix x86_64 test error --- mpfr.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/mpfr.spec b/mpfr.spec index f15e157..716e557 100644 --- a/mpfr.spec +++ b/mpfr.spec @@ -1,6 +1,6 @@ Name: mpfr Version: 4.1.0 -Release: 3 +Release: 4 Summary: A C library for multiple-precision floating-point computations URL: http://www.mpfr.org/ License: LGPLv3+ and GPLv3+ and GFDL-1.2-only @@ -36,6 +36,9 @@ install the mpfr package. %autosetup -p1 %build +%ifarch x86_64 + export CFLAGS=`echo $CFLAGS | sed 's/-fstack-clash-protection//g'` +%endif %configure --disable-assert --disable-static make %{?_smp_mflags} @@ -78,6 +81,9 @@ fi %{_libdir}/pkgconfig/mpfr.pc %changelog +* Fri Jul 28 2023 yoo - 4.1.0-4 +- fix x86_64 test error + * Thu Aug 4 2022 Chenyx - 4.1.0-3 - License compliance rectification -- Gitee