If we fuzzed --enable-compiler-plugins as yes but aren't using Clang, reset it

Change-Id: I4a910649ec6b4ec5f999e009802038457cf94363
This commit is contained in:
Tor Lillqvist 2016-12-08 11:07:42 +02:00
parent d75f839329
commit 59d85e1b26

View File

@ -6666,6 +6666,14 @@ dnl ===================================================================
COMPILER_PLUGINS=
# currently only Clang
if test "$COM_IS_CLANG" != "TRUE"; then
if test "$libo_fuzzed_enable_compiler_plugins" = yes -a "$enable_compiler_plugins" = yes; then
AC_MSG_NOTICE([Resetting --enable-compiler-plugins=no])
enable_compiler_plugins=no
fi
fi
if test "$COM_IS_CLANG" = "TRUE"; then
if test -n "$enable_compiler_plugins"; then
compiler_plugins="$enable_compiler_plugins"