mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-05 21:24:59 +00:00
fuzzing.yml: Pass C++ compiler and compile flags to CMake
This commit is contained in:
parent
0497f35d04
commit
8d7f50bc6e
1 changed files with 2 additions and 1 deletions
3
.github/workflows/fuzzing.yml
vendored
3
.github/workflows/fuzzing.yml
vendored
|
@ -88,7 +88,8 @@ jobs:
|
|||
|
||||
# Tune compilation of fuzzers to use Clang with ASan and UBSan
|
||||
-DCMAKE_C_COMPILER=clang
|
||||
-DCMAKE_C_FLAGS='-Wall -Wextra -pedantic -O1 -g -fsanitize=address,undefined -fno-sanitize-recover=all -fno-omit-frame-pointer -fno-common'
|
||||
-DCMAKE_CXX_COMPILER=clang++
|
||||
-DCMAKE_{C,CXX}_FLAGS='-Wall -Wextra -pedantic -O1 -g -fsanitize=address,undefined -fno-sanitize-recover=all -fno-omit-frame-pointer -fno-common'
|
||||
-DCMAKE_{EXE,MODULE,SHARED}_LINKER_FLAGS='-g -fsanitize=address,undefined'
|
||||
-DEXPAT_WARNINGS_AS_ERRORS=ON
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue