From bf2bb119a7e7cc7ee134b9e3457eca60a8348ea8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= Date: Thu, 17 Jul 2025 03:10:35 +0200 Subject: [PATCH] configure: remove ossfuzz sanitizer flags MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- configure | 5 ----- 1 file changed, 5 deletions(-) diff --git a/configure b/configure index 8207896a98..ed6430ea32 100755 --- a/configure +++ b/configure @@ -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)