From 7b7856252bdbea45d3f1cd5474abe18194d17f80 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Wed, 19 Mar 2014 03:29:14 -0400 Subject: [PATCH] Buildbot static analysis script: use configure script instead of cmake. --- build-scripts/checker-buildbot.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build-scripts/checker-buildbot.sh b/build-scripts/checker-buildbot.sh index 3257b0b37f95d..14b41ae9b9422 100755 --- a/build-scripts/checker-buildbot.sh +++ b/build-scripts/checker-buildbot.sh @@ -60,7 +60,8 @@ fi 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.