Re: [PATCH 09/11] x86: rework CONFIG_GENERIC_CPU compiler flags
From: Andy Shevchenko
Date: Thu Dec 05 2024 - 03:14:11 EST
On Wed, Dec 04, 2024 at 03:33:19PM -0800, Linus Torvalds wrote:
> On Wed, 4 Dec 2024 at 11:44, Arnd Bergmann <arnd@xxxxxxxx> wrote:
...
> Will that work when you cross-compile? No. Do we care? Also no. It's
> basically a simple "you want to optimize for your own local machine"
> switch.
Maybe it's okay for 64-bit machines, but for cross-compiling for 32-bit on
64-bit. I dunno what '-march=native -m32' (or equivalent) will give in such
cases.
> Maybe that could replace some of the 32-bit choices too?
--
With Best Regards,
Andy Shevchenko