aboutsummaryrefslogtreecommitdiff
path: root/configure.seed
diff options
context:
space:
mode:
authorPhilippe Antoine <contact@catenacyber.fr>2020-07-20 10:07:54 +0200
committerPhilippe Antoine <contact@catenacyber.fr>2020-07-20 10:07:54 +0200
commitb568c26989b9baf72940007d220d5c47eae67618 (patch)
tree6609c31ea90b2605870b7b6d8184723b9e2aea76 /configure.seed
parentf452dabd929a18304c3d84c02d24dc9e9245fded (diff)
Enables fuzz targets even without sanitizer
Should fix ossfuzz build
Diffstat (limited to 'configure.seed')
-rw-r--r--configure.seed2
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"
])