summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2015-04-25 12:09:56 (GMT)
committer Vincent Sanders <vince@kyllikki.org>2015-04-25 12:09:56 (GMT)
commitba62b2b494f7ec7fef9d0936cbef7bdeaa80e2fc (patch)
tree30f1316929599fddd6b1e2250096ca3e13fab62c
parentcdde8cbaed88f06c373f6d5add7273fd97e77d21 (diff)
downloadbuildsystem-ba62b2b494f7ec7fef9d0936cbef7bdeaa80e2fc.tar.gz
buildsystem-ba62b2b494f7ec7fef9d0936cbef7bdeaa80e2fc.tar.bz2
Supress warnings as errors in static analysis builds
-rwxr-xr-xcitools/jenkins-build.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/citools/jenkins-build.sh b/citools/jenkins-build.sh
index e2cc6a2..7be5d46 100755
--- a/citools/jenkins-build.sh
+++ b/citools/jenkins-build.sh
@@ -161,7 +161,8 @@ elif [ "x${HOST}" = "x${TARGET_STATIC}" ]; then
# static build
rm -rf clangScanBuildReports
- scan-build -o clangScanBuildReports -v --use-cc clang --use-analyzer=/usr/bin/clang ${MAKE} Q= VARIANT=${VARIANT}
+ # build with static analysis without warnings causing errors
+ CFLAGS=-Wno-error scan-build -o clangScanBuildReports -v -v --use-cc clang --use-analyzer=/usr/bin/clang ${MAKE} Q= VARIANT=${VARIANT}
# clean up after
${MAKE} Q= clean HOST=${HOST} VARIANT=${VARIANT}