From beba44a5c964ca4f17fedf184b836a65e71d21c8 Mon Sep 17 00:00:00 2001 From: Pablo Greco Date: Sat, 8 Feb 2020 10:48:22 -0300 Subject: [PATCH] Fix build with gcc10 --- libfaketime.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libfaketime.spec b/libfaketime.spec index 468548c..58d8371 100644 --- a/libfaketime.spec +++ b/libfaketime.spec @@ -79,6 +79,9 @@ CFLAGS="%{optflags} -Wno-nonnull-compare -Wno-strict-aliasing" make %{?_smp_mfla PREFIX="%{_prefix}" LIBDIRNAME="/%{_lib}/faketime" all %check +%if 0%{?fedora} >= 32 + FAKETIME_COMPILE_CFLAGS="-Wno-error=deprecated-declarations" \ +%endif make %{?_smp_mflags} -C test %install @@ -97,6 +100,9 @@ chmod a+rx %{buildroot}/%{_libdir}/faketime/*.so.* %{_mandir}/man1/* %changelog +* Sat Feb 08 2020 Pablo Greco - 0.9.8-6 +- Fix build with gcc10 + * Wed Jan 29 2020 Fedora Release Engineering - 0.9.8-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild