From ab7921c927cab85e2a4ebf3bdda612679ae2ebe0 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Tue, 6 Dec 2016 11:08:40 +0700 Subject: development/chppcheck: Fix runtime issue. Signed-off-by: Willy Sudiarto Raharjo --- development/cppcheck/cppcheck.SlackBuild | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/development/cppcheck/cppcheck.SlackBuild b/development/cppcheck/cppcheck.SlackBuild index a37e8df5c1..abd23a35eb 100644 --- a/development/cppcheck/cppcheck.SlackBuild +++ b/development/cppcheck/cppcheck.SlackBuild @@ -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 \ -- cgit v1.2.3