Buildbot static analysis script: use configure script instead of cmake.
authorRyan C. Gordon <icculus@icculus.org>
Wed, 19 Mar 2014 03:29:14 -0400
changeset 8637 1c0ab89ad87c
parent 8636 c10618240799
child 8638 d7a5c452411b
Buildbot static analysis script: use configure script instead of cmake.
build-scripts/checker-buildbot.sh
--- a/build-scripts/checker-buildbot.sh	Wed Mar 19 03:04:04 2014 -0400
+++ b/build-scripts/checker-buildbot.sh	Wed Mar 19 03:29:14 2014 -0400
@@ -60,7 +60,8 @@
 
 mkdir checker-buildbot
 cd checker-buildbot
-cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER="$CHECKERDIR/libexec/ccc-analyzer" -DSDL_STATIC=OFF ..
+#cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER="$CHECKERDIR/libexec/ccc-analyzer" -DSDL_STATIC=OFF ..
+CC="$CHECKERDIR/libexec/ccc-analyzer" CFLAGS="-O0" ../configure --disable-static
 PATH="$CHECKERDIR:$PATH" scan-build -o analysis $MAKE
 mv analysis/* ../analysis
 rmdir analysis   # Make sure this is empty.