From: Jan Rękorajski Date: Sat, 15 Apr 2017 16:32:00 +0000 (+0200) Subject: - force c/c++ standards to fix build due to old bundled llvm X-Git-Tag: auto/th/clamav-0.99.2-4 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=3dae9f9c8f2781ebff3c687778bf8180343d5841;p=packages%2Fclamav.git - force c/c++ standards to fix build due to old bundled llvm - rel 4 --- 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}