mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-10 17:13:51 +02:00
cppcheck: force c++11 std mode to unbreak cross compilation.
This commit is contained in:
parent
bd56afc976
commit
f622a2fb8c
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue