mirror of
https://github.com/torvalds/linux.git
synced 2026-06-01 11:03:43 +02:00
x86/build: Remove cc-option from -mskip-rax-setup
This has been supported in GCC since 5.1 and clang since 14.0. Now that x86 requires LLVM 15 or newer since7861640aac("x86/build: Raise the minimum LLVM version to 15.0.0"), this flag can be unconditionally added, saving a compiler invocation. Signed-off-by: Nathan Chancellor <nathan@kernel.org> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=fbe575b652f5bdcc459f447a0e6f0e059996d4ef Link:a9fba2be35Link: https://lore.kernel.org/20250814-x86-min-ver-cleanups-v1-5-ff7f19457523@kernel.org
This commit is contained in:
parent
0a42d732c1
commit
337927d989
|
|
@ -160,7 +160,7 @@ else
|
|||
KBUILD_CFLAGS += $(cc_stack_align8)
|
||||
|
||||
# Use -mskip-rax-setup if supported.
|
||||
KBUILD_CFLAGS += $(call cc-option,-mskip-rax-setup)
|
||||
KBUILD_CFLAGS += -mskip-rax-setup
|
||||
|
||||
ifdef CONFIG_X86_NATIVE_CPU
|
||||
KBUILD_CFLAGS += -march=native
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user