diff options
Diffstat (limited to 'development/cppcheck')
-rw-r--r-- | development/cppcheck/cppcheck.SlackBuild | 8 |
1 files 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 \ |