mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 18:43:33 +02:00
x86/build: Remove cc-option from -mno-fp-ret-in-387
This has been supported in GCC for forever and clang gained support for it as an alias of '-mno-x87' in LLVM 14. 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:a9fba2be35Link: https://lore.kernel.org/20250814-x86-min-ver-cleanups-v1-4-ff7f19457523@kernel.org
This commit is contained in:
parent
487fe3a936
commit
0a42d732c1
|
|
@ -148,7 +148,7 @@ else
|
|||
|
||||
# Don't autogenerate traditional x87 instructions
|
||||
KBUILD_CFLAGS += -mno-80387
|
||||
KBUILD_CFLAGS += $(call cc-option,-mno-fp-ret-in-387)
|
||||
KBUILD_CFLAGS += -mno-fp-ret-in-387
|
||||
|
||||
# By default gcc and clang use a stack alignment of 16 bytes for x86.
|
||||
# However the standard kernel entry on x86-64 leaves the stack on an
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user