diff options
author | Luca Deri <lucaderi@users.noreply.github.com> | 2020-07-22 11:36:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-22 11:36:48 +0200 |
commit | 66178e37cca8f151e89acb0ee5426b92f18e4e8c (patch) | |
tree | d092d4a12f6e6b3bfaed3bf17a8e244448cda229 | |
parent | f6242f0e4621650a2bc409278b0442d775b14db8 (diff) | |
parent | 1740042cbb639fae8f1d06b8966cac9d56c52c20 (diff) |
Merge pull request #966 from catenacyber/ossfuzzbuild
Enables fuzz targets even without sanitizer
-rw-r--r-- | configure.seed | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.seed b/configure.seed index 5f2461e8d..1c520f9ab 100644 --- a/configure.seed +++ b/configure.seed @@ -8,9 +8,9 @@ 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"],[ - 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" +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" ]) LT_INIT |