[packages/clamav] - force c/c++ standards to fix build due to old bundled llvm - rel 4
baggins
baggins at pld-linux.org
Sat Apr 15 18:32:39 CEST 2017
commit 3dae9f9c8f2781ebff3c687778bf8180343d5841
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sat Apr 15 18:32:00 2017 +0200
- force c/c++ standards to fix build due to old bundled llvm
- rel 4
clamav.spec | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/clamav.spec b/clamav.spec
index 5a0aec7..99eb9a5 100644
--- a/clamav.spec
+++ b/clamav.spec
@@ -20,7 +20,7 @@ Summary: An anti-virus utility for Unix
Summary(pl.UTF-8): Narzędzie antywirusowe dla Uniksów
Name: clamav
Version: 0.99.2
-Release: 3
+Release: 4
License: GPL v2+
Group: Daemons
Source0: http://www.clamav.net/downloads/production/%{name}-%{version}.tar.gz
@@ -191,6 +191,8 @@ Biblioteki statyczne clamav.
%patch6 -p1
%build
+export CFLAGS="%{rpmcflags} -Wall -W -Wmissing-prototypes -Wmissing-declarations -std=gnu99"
+export CXXFLAGS="%{rpmcxxflags} -std=gnu++98"
%{__libtoolize}
%{__aclocal} -I m4
%{__autoconf}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/clamav.git/commitdiff/3dae9f9c8f2781ebff3c687778bf8180343d5841
More information about the pld-cvs-commit
mailing list