From: Stefan Agner <stefan@agner.ch>
To: keescook@chromium.org
Cc: yamada.masahiro@socionext.com, ast@kernel.org,
akpm@linux-foundation.org, jbacik@fb.com, re.emese@gmail.com,
linux-kernel@vger.kernel.org, Stefan Agner <stefan@agner.ch>
Subject: [PATCH] gcc-plugins: require GCC
Date: Sat, 11 Aug 2018 11:48:53 +0200 [thread overview]
Message-ID: <20180811094853.32167-1-stefan@agner.ch> (raw)
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
next reply other threads:[~2018-08-11 9:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-11 9:48 Stefan Agner [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180811094853.32167-1-stefan@agner.ch \
--to=stefan@agner.ch \
--cc=akpm@linux-foundation.org \
--cc=ast@kernel.org \
--cc=jbacik@fb.com \
--cc=keescook@chromium.org \
--cc=linux-kernel@vger.kernel.org \
--cc=re.emese@gmail.com \
--cc=yamada.masahiro@socionext.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®