jjb: remove -DDEBUG from coverity CFLAGS
authorMichael Jeanson <mjeanson@efficios.com>
Thu, 14 Dec 2023 21:10:28 +0000 (16:10 -0500)
committerMichael Jeanson <mjeanson@efficios.com>
Thu, 14 Dec 2023 21:11:18 +0000 (16:11 -0500)
As far as I know we don't use this define and it conflicts with a
loglevel enum value in babeltrace.

Change-Id: I197deacfdd178288404ddb8f2ad94034baf512ed
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
scripts/common/coverity.sh
scripts/common/scan-build.sh

index 80abeddf6a6cc40e63ede582055775086ce812b7..21e76aba68f0312303cacf1867b732601d33c7b0 100755 (executable)
@@ -34,8 +34,8 @@ TMPDIR="$WORKSPACE/tmp"
 
 NPROC=$(nproc)
 PLATFORM=$(uname)
-export CFLAGS="-O0 -g -DDEBUG"
-export CXXFLAGS="-O0 -g -DDEBUG"
+export CFLAGS="-O0 -g"
+export CXXFLAGS="-O0 -g"
 
 # Cache the tool installer in the home directory since we delete the workspace
 # on each build
index 9f3caea8ef02edfe836942ce907471d0ef677515..478fff1f5045b7d37728ec324621e7bb12f709ea 100755 (executable)
@@ -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"
This page took 0.024118 seconds and 4 git commands to generate.