Re: [PATCH 1/3] x86: Move RETPOLINE*_CFLAGS to arch Makefile

From: Kees Cook
Date: Fri Nov 19 2021 - 12:10:04 EST


On Fri, Nov 19, 2021 at 05:50:24PM +0100, Peter Zijlstra wrote:
> Currently RETPOLINE*_CFLAGS are defined in the top-level Makefile but
> only x86 makes use of them, move them there. If ever another
> architecture finds the need, we can reconsider.
>
> Suggested-by: Nick Desaulniers <ndesaulniers@xxxxxxxxxx>
> Signed-off-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>

Reviewed-by: Kees Cook <keescook@xxxxxxxxxxxx>

--
Kees Cook