diff options
author | Nathan Chancellor <nathan@kernel.org> | 2025-08-14 18:31:38 -0700 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2025-08-15 22:59:19 +0200 |
commit | d87208128a3330c0eab18301ab39bdb419647730 (patch) | |
tree | 272d44818917d76451aa7ef923e802c84dba747d /scripts/gdb/linux/timerlist.py | |
parent | 5d6d30eca4dd1c9e8515a8d4b13106205d5c0ec4 (diff) |
x86/build: Remove cc-option from stack alignment flags
'-mpreferred-stack-boundary' (the GCC option) and '-mstack-alignment'
(the clang option) have been supported in their respective compilers for
some time, so it is unnecessary to check for support for them via
cc-option. '-mpreferred-stack-boundary=3' had a restriction on
'-mno-sse' until GCC 7.1 but that is irrelevant for most of the kernel,
which includes '-mno-sse'.
Move to simple Kconfig checks to avoid querying the compiler for the
flags that it supports.
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/20250814-x86-min-ver-cleanups-v1-2-ff7f19457523@kernel.org
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions