Re: [PATCH] x86/build: Do not allow X86_NATIVE_CPU to be enabled on non-x86_64 hosts
From: Nick Desaulniers
Date: Mon Nov 16 2026 - 13:29:16 EST
On Sat, Nov 14, 2026 at 12:58 PM Borislav Petkov <bp@xxxxxxxxx> wrote:
>
> (If it were me, I'd simply whack that native thing. It is such a waste of
> energy).
There's always KCFLAGS. i.e. we _could_ remove it from the x86 build,
and <whoever cares> could still do
$ make KCFLAGS="-march=native" ...
(I'm agreeing with Boris here)
Nathan,
Was there a bug on file against clang for this? I can picture a fix
in my head for this...
--
Thanks,
~Nick Desaulniers