mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-02-14 03:11:25 +00:00
configure: remove ossfuzz sanitizer flags
In OSS-Fuzz build environment flags are handled by CFLAGS and LDFLAGS. In local build use --toolchain=clang-fuzz-asan-ubsan or similar combination depending on requested sanitizers. Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
This commit is contained in:
parent
e1665fd71d
commit
bf2bb119a7
1 changed files with 0 additions and 5 deletions
5
configure
vendored
5
configure
vendored
|
|
@ -4613,11 +4613,6 @@ set >> $logfile
|
|||
|
||||
test -n "$valgrind" && toolchain="valgrind-memcheck"
|
||||
|
||||
enabled ossfuzz && ! echo $CFLAGS | grep -q -- "-fsanitize=" && ! echo $CFLAGS | grep -q -- "-fcoverage-mapping" &&{
|
||||
add_cflags -fsanitize=address,undefined -fsanitize-coverage=trace-pc-guard,trace-cmp -fno-omit-frame-pointer
|
||||
add_ldflags -fsanitize=address,undefined -fsanitize-coverage=trace-pc-guard,trace-cmp
|
||||
}
|
||||
|
||||
add_sanitizer_flags(){
|
||||
case "$1" in
|
||||
asan)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue