development/chppcheck: Fix runtime issue.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2016-12-06 11:08:40 +07:00
parent f7799c16bb
commit ab7921c927
No known key found for this signature in database
GPG key ID: 887B8374D7333381

View file

@ -24,7 +24,7 @@
PRGNAM=cppcheck
VERSION=${VERSION:-1.76}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
MAKEMAN=${MAKEMAN:-yes}
@ -69,10 +69,10 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
make \
make install \
CFLAGS="$SLKCFLAGS -Wall -Wextra -pedantic -Wno-long-long -DNDEBUG" \
CXXFLAGS="$SLKCFLAGS -Wall -Wextra -pedantic -Wno-long-long -DNDEBUG"
make install DESTDIR=$PKG
CXXFLAGS="$SLKCFLAGS -Wall -Wextra -pedantic -Wno-long-long -DNDEBUG" \
SRCDIR=build HAVE_RULES=yes CFGDIR=/usr/share/cppcheck/cfg DESTDIR=$PKG
if [ x"$MAKEMAN" == "xyes" ]; then
xsltproc \