X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=scripts%2Fcommon%2Fscan-build.sh;h=478fff1f5045b7d37728ec324621e7bb12f709ea;hb=1371b4a117a8e1e2391e7a72472bc5fcefe0a2bf;hp=9f3caea8ef02edfe836942ce907471d0ef677515;hpb=f5c23aa490d27f571f71af6e62b0d38d206f2206;p=lttng-ci.git diff --git a/scripts/common/scan-build.sh b/scripts/common/scan-build.sh index 9f3caea..478fff1 100755 --- a/scripts/common/scan-build.sh +++ b/scripts/common/scan-build.sh @@ -36,7 +36,8 @@ SRCDIR="$WORKSPACE/src/$PROJECT_NAME" TMPDIR="$WORKSPACE/tmp" NPROC=$(nproc) -export CFLAGS="-O0 -g -DDEBUG" +export CFLAGS="-O0 -g" +export CXXFLAGS="-O0 -g" # Directory to archive the scan-build report SCAN_BUILD_ARCHIVE="${WORKSPACE}/scan-build-archive"