treewide: remove DISABLE_LTO
authorSami Tolvanen <samitolvanen@google.com>
Tue, 13 Oct 2020 00:31:45 +0000 (17:31 -0700)
committerMasahiro Yamada <masahiroy@kernel.org>
Tue, 20 Oct 2020 15:28:53 +0000 (00:28 +0900)
commit0f6372e522237f39aff63f2e158d629038f26238
treec2a8c176541d1c349547e3833882e2433994c5f1
parent0fa21cf4489fe11737d56f8056dda1ba0257bd8d
treewide: remove DISABLE_LTO

This change removes all instances of DISABLE_LTO from
Makefiles, as they are currently unused, and the preferred
method of disabling LTO is to filter out the flags instead.

Note added by Masahiro Yamada:
DISABLE_LTO was added as preparation for GCC LTO, but GCC LTO was
not pulled into the mainline. (https://lkml.org/lkml/2014/4/8/272)

Suggested-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
arch/arm64/kernel/vdso/Makefile
arch/sparc/vdso/Makefile
arch/x86/entry/vdso/Makefile
kernel/Makefile
scripts/Makefile.build