configure: Don't modify CFLAGs if fuzzing is enabled
authorTobias Brunner <tobias@strongswan.org>
Thu, 4 May 2017 14:10:00 +0000 (16:10 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 23 May 2017 16:29:12 +0000 (18:29 +0200)
Just rely on the flags passed by the build process.

configure.ac

index 827c691..30edbba 100644 (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