cppcheck: force c++11 std mode to unbreak cross compilation.

This commit is contained in:
Juan RP 2015-11-16 09:51:41 +01:00
parent bd56afc976
commit f622a2fb8c

View file

@ -1,7 +1,7 @@
# Template file for 'cppcheck'
pkgname=cppcheck
version=1.71
revision=1
revision=2
build_pie=yes
hostmakedepends="libxslt docbook-xsl"
short_desc="Static analysis of C/C++ code"
@ -11,6 +11,8 @@ homepage="http://cppcheck.sourceforge.net"
distfiles="https://github.com/danmar/cppcheck/archive/$version.tar.gz"
checksum=49f8d44516a1534eb01e3cc8300d60c3577c5e4339336defaf213d08ff914f1b
CXXFLAGS="-std=c++11"
do_build() {
make ${makejobs} CFGDIR=/usr/share/cppcheck/cfg
make ${makejobs} DB2MAN=/usr/share/xsl/docbook/manpages/docbook.xsl all man