kbuild: drop superfluous GCC_PLUGINS_CFLAGS assignment
authorCao jin <caoj.fnst@cn.fujitsu.com>
Wed, 21 Feb 2018 04:25:07 +0000 (12:25 +0800)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 2 Mar 2018 00:20:56 +0000 (09:20 +0900)
GCC_PLUGINS_CFLAGS is already in the environment, so it is superfluous
to add it in commandline of final build of init/.

Signed-off-by: Cao jin <caoj.fnst@cn.fujitsu.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/link-vmlinux.sh

index c0d129d7f4304abfac7f2e7d699000df02678f73..be56a1153014af54af0db2bf23c92306c4a8b4fb 100755 (executable)
@@ -246,7 +246,7 @@ else
 fi;
 
 # final build of init/
-${MAKE} -f "${srctree}/scripts/Makefile.build" obj=init GCC_PLUGINS_CFLAGS="${GCC_PLUGINS_CFLAGS}"
+${MAKE} -f "${srctree}/scripts/Makefile.build" obj=init
 
 archive_builtin