lkml.org 
[lkml]   [2018]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] gcc-plugins: require GCC
Date
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
\
 
 \ /
  Last update: 2018-08-11 11:49    [W:0.060 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site