Re: [PATCH v2 28/28] x86, build: allow LTO_CLANG and THINLTO to be selected

From: Kees Cook
Date: Thu Sep 03 2020 - 18:48:43 EST


On Thu, Sep 03, 2020 at 01:30:53PM -0700, Sami Tolvanen wrote:
> Allow CONFIG_LTO_CLANG and CONFIG_THINLTO to be enabled.
>
> Signed-off-by: Sami Tolvanen <samitolvanen@xxxxxxxxxx>

I think it might be worth detailing why these arguments aren't handled
in the normal fashion under Clang's LTO. Regardless, it's needed to make
it work, so:

Reviewed-by: Kees Cook <keescook@xxxxxxxxxxxx>

--
Kees Cook