diff options
author | Philippe Antoine <contact@catenacyber.fr> | 2020-07-20 10:07:54 +0200 |
---|---|---|
committer | Philippe Antoine <contact@catenacyber.fr> | 2020-07-20 10:07:54 +0200 |
commit | b568c26989b9baf72940007d220d5c47eae67618 (patch) | |
tree | 6609c31ea90b2605870b7b6d8184723b9e2aea76 /configure.seed | |
parent | f452dabd929a18304c3d84c02d24dc9e9245fded (diff) |
Enables fuzz targets even without sanitizer
Should fix ossfuzz build
Diffstat (limited to 'configure.seed')
-rw-r--r-- | configure.seed | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.seed b/configure.seed index 1a385f06d..1c520f9ab 100644 --- a/configure.seed +++ b/configure.seed @@ -8,7 +8,7 @@ AC_ARG_WITH(sanitizer, AS_HELP_STRING([--with-sanitizer], [Build with suppor AC_ARG_ENABLE(fuzztargets, AS_HELP_STRING([--enable-fuzztargets], [Enable fuzz targets]),[enable_fuzztargets=$enableval],[enable_fuzztargets=no]) AM_CONDITIONAL([BUILD_FUZZTARGETS], [test "x$enable_fuzztargets" = "xyes"]) -AS_IF([test "${with_sanitizer+set}" = set -o "x$enable_fuzztargets" = "xyes"],[ +AS_IF([test "${with_sanitizer+set}" = set],[ CFLAGS+="${CFLAGS} -g3 -O0 -Wno-unused-value -fsanitize=address -fsanitize=undefined -fno-sanitize=alignment -fsanitize=leak -fno-omit-frame-pointer" LDFLAGS+="${LDFLAGS} -fsanitize=address -fsanitize=undefined -fno-sanitize=alignment -fsanitize=leak" ]) |