]> git.pld-linux.org Git - packages/clamav.git/commitdiff
- force c/c++ standards to fix build due to old bundled llvm auto/th/clamav-0.99.2-4
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 15 Apr 2017 16:32:00 +0000 (18:32 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Sat, 15 Apr 2017 16:32:00 +0000 (18:32 +0200)
- rel 4

clamav.spec

index 5a0aec7d50d44132b42ad83c36ed7bb99695ae68..99eb9a521bbc8c7fac7de9847065c39ecc6e39d7 100644 (file)
@@ -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}
This page took 0.157344 seconds and 4 git commands to generate.