From 59d85e1b26e18c3aaa94d586806b7fd88dfaec6a Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Thu, 8 Dec 2016 11:07:42 +0200 Subject: [PATCH] If we fuzzed --enable-compiler-plugins as yes but aren't using Clang, reset it Change-Id: I4a910649ec6b4ec5f999e009802038457cf94363 --- configure.ac | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configure.ac b/configure.ac index b32c24ae651f..589aff437212 100644 --- a/configure.ac +++ b/configure.ac @@ -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"