瀏覽代碼

Buildbot static analysis script: use configure script instead of cmake.

Ryan C. Gordon 11 年之前
父節點
當前提交
7b7856252b
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      build-scripts/checker-buildbot.sh

+ 2 - 1
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.