configure: Don't modify CFLAGs if fuzzing is enabled

Just rely on the flags passed by the build process.
This commit is contained in:
Tobias Brunner
2017-05-23 18:29:12 +02:00
parent 3963dbbde5
commit f5aef3a020
-5
View File
@@ -1266,11 +1266,6 @@ if test x$coverage = xtrue; then
CFLAGS="${CFLAGS} -g -O0"
fi
if test x$fuzzing = xtrue; then
AC_MSG_NOTICE([fuzzing enabled, modifying CFLAGS])
CFLAGS="${CFLAGS} -fsanitize-coverage=trace-pc-guard -fsanitize=address"
fi
if test x$ruby_gems = xtrue; then
AC_PATH_PROG([GEM], [gem], [], [$PATH:/bin:/usr/bin:/usr/local/bin])
if test x$GEM = x; then