diff options
author | Ting-Wei Lan <lantw44@gmail.com> | 2024-10-02 17:28:07 +0800 |
---|---|---|
committer | Ting-Wei Lan <lantw44@gmail.com> | 2024-10-02 17:28:07 +0800 |
commit | 01c75070aa6b1d25e692255c6bc567e87b0d421b (patch) | |
tree | 77b8c1c5cf16321af50a953d2f43e9d864e72cd3 | |
parent | d829ab686b9ebb41b155c016dd3f53878baf01c2 (diff) | |
download | copr-rpm-spec-01c75070aa6b1d25e692255c6bc567e87b0d421b.tar copr-rpm-spec-01c75070aa6b1d25e692255c6bc567e87b0d421b.tar.gz copr-rpm-spec-01c75070aa6b1d25e692255c6bc567e87b0d421b.tar.bz2 copr-rpm-spec-01c75070aa6b1d25e692255c6bc567e87b0d421b.tar.lz copr-rpm-spec-01c75070aa6b1d25e692255c6bc567e87b0d421b.tar.xz copr-rpm-spec-01c75070aa6b1d25e692255c6bc567e87b0d421b.tar.zst copr-rpm-spec-01c75070aa6b1d25e692255c6bc567e87b0d421b.zip |
factor: Downgrade errors to warnings for GCC 14
-rw-r--r-- | factor/msieve/msieve.spec | 9 | ||||
-rw-r--r-- | factor/yafu/yafu.spec | 8 |
2 files changed, 13 insertions, 4 deletions
diff --git a/factor/msieve/msieve.spec b/factor/msieve/msieve.spec index 5477095..02b4996 100644 --- a/factor/msieve/msieve.spec +++ b/factor/msieve/msieve.spec @@ -1,6 +1,6 @@ Name: msieve Version: 1.53 -Release: 16%{?dist} +Release: 17%{?dist} Summary: Msieve is a C library to factor large integers. License: Public Domain @@ -22,7 +22,8 @@ latter has helped complete some of the largest public factorizations known. %build sed -i 's|-march=native||' Makefile -%make_build all ECM=1 CC="gcc %{build_cflags} %{build_ldflags} -fcommon" +%make_build all ECM=1 \ + CC="gcc $CFLAGS $LDFLAGS -fcommon -fpermissive" %install @@ -40,6 +41,10 @@ install -m 644 libmsieve.a %{buildroot}%{_libdir} %changelog +* Wed Oct 02 2024 Ting-Wei Lan <lantw44@gmail.com> - 1.53-17 +- Downgrade GCC 14 compilation errors to warnings with -fpermissive +- Use environment variables instead of RPM macros to get build flags + * Sat Oct 14 2023 Ting-Wei Lan <lantw44@gmail.com> - 1.53-16 - Rebuilt for Fedora 39 and 40 diff --git a/factor/yafu/yafu.spec b/factor/yafu/yafu.spec index 33e123d..48a67e3 100644 --- a/factor/yafu/yafu.spec +++ b/factor/yafu/yafu.spec @@ -1,6 +1,6 @@ Name: yafu Version: 1.34 -Release: 23%{?dist} +Release: 24%{?dist} Summary: Automated integer factorization License: Public Domain @@ -29,7 +29,7 @@ sed -i 's|-lmsieve|-lmsieve -lz|' Makefile %ifarch x86_64 %make_build x86_64 NFS=1 USE_SSE41=1 \ - CC="gcc %{build_cflags} %{build_ldflags} -fcommon" + CC="gcc $CFLAGS $LDFLAGS -fcommon -fpermissive" %else false %endif @@ -47,6 +47,10 @@ install -m 755 yafu %{buildroot}%{_bindir} %changelog +* Wed Oct 02 2024 Ting-Wei Lan <lantw44@gmail.com> - 1.34-24 +- Downgrade GCC 14 compilation errors to warnings with -fpermissive +- Use environment variables instead of RPM macros to get build flags + * Sat Oct 14 2023 Ting-Wei Lan <lantw44@gmail.com> - 1.34-23 - Rebuilt for Fedora 39 and 40 |