Kaydet (Commit) 8e610f61 authored tarafından Luboš Luňák's avatar Luboš Luňák

explicitly fail with --enable-compiler-plugins if compiler is not clang

Change-Id: I7c21730486f74b44b7c1189c40105f5d1a96f754
üst 7ef1190c
...@@ -5059,6 +5059,10 @@ if test "$COM_GCC_IS_CLANG" = "TRUE"; then ...@@ -5059,6 +5059,10 @@ if test "$COM_GCC_IS_CLANG" = "TRUE"; then
CPPFLAGS=$save_CPPFLAGS CPPFLAGS=$save_CPPFLAGS
AC_LANG_POP([C++]) AC_LANG_POP([C++])
fi fi
else
if test "$enable_compiler_plugins" = "yes"; then
AC_MSG_ERROR([Compiler plugins are currently supported only with the Clang compiler.])
fi
fi fi
AC_SUBST(COMPILER_PLUGINS) AC_SUBST(COMPILER_PLUGINS)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment