diff options
Diffstat (limited to 'development/cppcheck/cppcheck.SlackBuild')
-rw-r--r-- | development/cppcheck/cppcheck.SlackBuild | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/development/cppcheck/cppcheck.SlackBuild b/development/cppcheck/cppcheck.SlackBuild index c0eea95ae7562..a0c5d43485b87 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 |