diff options
author | 2025-03-24 08:05:19 +0100 | |
---|---|---|
committer | 2025-03-25 08:24:06 +0100 | |
commit | 01412081863aa81db47423d5719f2726d2a00a32 (patch) | |
tree | 5ba515a4ba5aad68458635145dc97cbcf2e383dc /scripts/lib/kdoc/kdoc_output.py | |
parent | x86/kbuild/64: Add the CONFIG_X86_NATIVE_CPU option to locally optimize the kernel with '-march=native' (diff) | |
download | linux-rng-01412081863aa81db47423d5719f2726d2a00a32.tar.xz linux-rng-01412081863aa81db47423d5719f2726d2a00a32.zip |
x86/kbuild/64: Test for the availability of the -mtune=native compiler flag
Stephen reported this build failure when cross-compiling:
cc1: error: bad value 'native' for '-march=' switch
Test for the availability of the -march=native flag.
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Tested-by: Stephen Rothwell <sfr@canb.auug.org.au> # build test
Cc: Tor Vic <torvic9@mailbox.org>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Juergen Gross <jgross@suse.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: https://lore.kernel.org/r/20250324172723.49fb0416@canb.auug.org.au
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions