explicitly fail with --enable-compiler-plugins if compiler is not clang
Change-Id: I7c21730486f74b44b7c1189c40105f5d1a96f754
This commit is contained in:
parent
7ef1190c3e
commit
8e610f6148
1 changed files with 4 additions and 0 deletions
|
@ -5059,6 +5059,10 @@ if test "$COM_GCC_IS_CLANG" = "TRUE"; then
|
|||
CPPFLAGS=$save_CPPFLAGS
|
||||
AC_LANG_POP([C++])
|
||||
fi
|
||||
else
|
||||
if test "$enable_compiler_plugins" = "yes"; then
|
||||
AC_MSG_ERROR([Compiler plugins are currently supported only with the Clang compiler.])
|
||||
fi
|
||||
fi
|
||||
AC_SUBST(COMPILER_PLUGINS)
|
||||
|
||||
|
|
Loading…
Reference in a new issue