Skip to content

Commit

Permalink
CI: enable minimum optimization level with clang -fsanitize=undefined…
Browse files Browse the repository at this point in the history
… to trigger #11645
  • Loading branch information
rouault committed Jan 13, 2025
1 parent 926f93b commit 527f409
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/asan/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if [ "$NPROC" = "" ]; then
NPROC=3
fi

SANITIZE_FLAGS="-DMAKE_SANITIZE_HAPPY -fsanitize=undefined -fsanitize=address -fsanitize=unsigned-integer-overflow -fno-sanitize-recover=unsigned-integer-overflow"
SANITIZE_FLAGS="-DMAKE_SANITIZE_HAPPY -fsanitize=undefined -fsanitize=address -fsanitize=unsigned-integer-overflow -fno-sanitize-recover=unsigned-integer-overflow -O"
SANITIZE_LDFLAGS="-fsanitize=undefined -fsanitize=address -shared-libasan -lstdc++"

cmake ${GDAL_SOURCE_DIR:=..} \
Expand Down

0 comments on commit 527f409

Please sign in to comment.