]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
x86/build: Remove cc-option from -mno-fp-ret-in-387
authorNathan Chancellor <nathan@kernel.org>
Fri, 15 Aug 2025 01:31:40 +0000 (18:31 -0700)
committerBorislav Petkov (AMD) <bp@alien8.de>
Sun, 17 Aug 2025 09:36:47 +0000 (11:36 +0200)
commit0a42d732c136d3466cd19fafa7317d3004430318
tree5f7f7825e4c845e0c61909dec78b082bcfaa09b0
parent487fe3a936b0b84ef09fa324b4c01d059886f951
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
since

  7861640aac52 ("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://github.com/llvm/llvm-project/commit/a9fba2be35db674971382e38b99a31403444d9bf
Link: https://lore.kernel.org/20250814-x86-min-ver-cleanups-v1-4-ff7f19457523@kernel.org
arch/x86/Makefile