diff mbox series

fixup! gcc-plugins: test plugin support in Kconfig and clean up Makefile

Message ID 1527848661-31913-1-git-send-email-yamada.masahiro@socionext.com
State New
Headers show
Series fixup! gcc-plugins: test plugin support in Kconfig and clean up Makefile | expand

Commit Message

Masahiro Yamada June 1, 2018, 10:24 a.m. UTC
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

---

 arch/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.7.4

Comments

Arnd Bergmann June 1, 2018, 11:09 a.m. UTC | #1
On Fri, Jun 1, 2018 at 12:24 PM, Masahiro Yamada
<yamada.masahiro@socionext.com> wrote:
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>


Tested-by: Arnd Bergmann <arnd@arndb.de>
diff mbox series

Patch

diff --git a/arch/Kconfig b/arch/Kconfig
index e5ff804..3f93769 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -405,7 +405,7 @@  preferred-plugin-hostcc := $(if-success,[ $(gcc-version) -ge 40800 ],$(HOSTCXX),
 
 config PLUGIN_HOSTCC
 	string
-	default "$(shell,$(srctree)/scripts/gcc-plugin.sh $(preferred-plugin-hostcc) $(HOSTCXX) $(CC))"
+	default "$(shell,$(srctree)/scripts/gcc-plugin.sh "$(preferred-plugin-hostcc)" "$(HOSTCXX)" "$(CC)")"
 	help
 	  Host compiler used to build GCC plugins.  This can be $(HOSTCXX),
 	  $(HOSTCC), or a null string if GCC plugin is unsupported.