summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCao jin <caoj.fnst@cn.fujitsu.com>2018-02-21 12:25:07 +0800
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-03-02 09:20:56 +0900
commita7b151fffbf5236dd24b60aa0a83dc1c53c9f6c0 (patch)
tree0c0d7fc239d7efda60f526209f52f9d8818ddef4
parentbf0bbdcf1003220b7ca9a6aa00a84e27e94287e8 (diff)
downloadlwn-a7b151fffbf5236dd24b60aa0a83dc1c53c9f6c0.tar.gz
lwn-a7b151fffbf5236dd24b60aa0a83dc1c53c9f6c0.zip
kbuild: drop superfluous GCC_PLUGINS_CFLAGS assignment
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>
-rwxr-xr-xscripts/link-vmlinux.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/link-vmlinux.sh b/scripts/link-vmlinux.sh
index c0d129d7f430..be56a1153014 100755
--- a/scripts/link-vmlinux.sh
+++ b/scripts/link-vmlinux.sh
@@ -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