summaryrefslogtreecommitdiff
path: root/development/cppcheck/cppcheck.SlackBuild
diff options
context:
space:
mode:
authorSean Donner <sean.donner@gmail.com>2010-12-29 11:22:53 -0200
committerRobby Workman <rworkman@slackbuilds.org>2010-12-31 18:59:52 -0600
commit1cb6cf94d18f033ce22f0ac2ed0706d2e381cbd8 (patch)
tree59a27d7ecf135c50543a8fa3472f08490ee8733a /development/cppcheck/cppcheck.SlackBuild
parentb1eb7646843d89fe09fca6969a6056193594aa5e (diff)
downloadslackbuilds-1cb6cf94d18f033ce22f0ac2ed0706d2e381cbd8.tar.gz
development/cppcheck: Updated for version 1.46.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'development/cppcheck/cppcheck.SlackBuild')
-rw-r--r--development/cppcheck/cppcheck.SlackBuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/development/cppcheck/cppcheck.SlackBuild b/development/cppcheck/cppcheck.SlackBuild
index c0eea95ae7..a0c5d43485 100644
--- a/development/cppcheck/cppcheck.SlackBuild
+++ b/development/cppcheck/cppcheck.SlackBuild
@@ -23,18 +23,16 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=cppcheck
-VERSION=${VERSION:-1.40}
+VERSION=${VERSION:-1.46}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
MAKEMAN=${MAKEMAN:-yes}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -54,8 +52,8 @@ elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
fi
rm -rf $PKG
@@ -67,8 +65,8 @@ cd $PRGNAM-$VERSION
chown root:root . -R
make \
- CFLAGS="$SLKCFLAGS -Wall -Wextra -pedantic -DNDEBUG" \
- CXXFLAGS="$SLKCFLAGS -Wall -Wextra -pedantic -DNDEBUG"
+ CFLAGS="$SLKCFLAGS -Wall -Wextra -pedantic -Wno-long-long -DNDEBUG" \
+ CXXFLAGS="$SLKCFLAGS -Wall -Wextra -pedantic -Wno-long-long -DNDEBUG"
make install DESTDIR=$PKG
if [ x"$MAKEMAN" == "xyes" ]; then