mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] gcc-plugins: require GCC
@ 2018-08-11  9:48 Stefan Agner
  2018-08-13  7:38 ` Masahiro Yamada
  0 siblings, 1 reply; 6+ messages in thread
From: Stefan Agner @ 2018-08-11  9:48 UTC (permalink / raw)
  To: keescook
  Cc: yamada.masahiro, ast, akpm, jbacik, re.emese, linux-kernel, Stefan Agner

Unsurprisingly GCC plugins require GCC as a compiler. This avoids
GCC plugins being selectable when using clang.

Signed-off-by: Stefan Agner <stefan@agner.ch>
---
 arch/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/Kconfig b/arch/Kconfig
index 1aa59063f1fd..8c693a837ed7 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -422,7 +422,7 @@ config HAVE_GCC_PLUGINS
 
 menuconfig GCC_PLUGINS
 	bool "GCC plugins"
-	depends on HAVE_GCC_PLUGINS
+	depends on HAVE_GCC_PLUGINS && CC_IS_GCC
 	depends on PLUGIN_HOSTCC != ""
 	help
 	  GCC plugins are loadable modules that provide extra features to the
-- 
2.18.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-08-14  2:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-11  9:48 [PATCH] gcc-plugins: require GCC Stefan Agner
2018-08-13  7:38 ` Masahiro Yamada
2018-08-13 20:10   ` Kees Cook
2018-08-13 20:18     ` Kees Cook
2018-08-13 21:29       ` Stefan Agner
2018-08-14  2:28         ` Masahiro Yamada

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®