diff options
| author | Nathan Chancellor <nathan@kernel.org> | 2026-10-08 18:30:23 +0200 |
|---|---|---|
| committer | Nathan Chancellor <nathan@kernel.org> | 2026-10-08 18:30:23 +0200 |
| commit | 20cb500b2dfd87e055b2a494665121d0c7d20f76 (patch) | |
| tree | 1e4420aba7fb063859da1479872d594af574a914 /scripts/Kconfig.include | |
| parent | 251653f815e102a0edce94a04677fe7e874881c8 (diff) | |
| parent | 4b606bb09b5749aae80e94f3fe229283b52928ec (diff) | |
| download | linux-next-20cb500b2dfd87e055b2a494665121d0c7d20f76.tar.gz linux-next-20cb500b2dfd87e055b2a494665121d0c7d20f76.zip | |
Merge branch 'kbuild-next-speedups' into kbuild-for-next
* kbuild-next-speedups:
kconfig: Improve ergonomics around disabling warnings with cc-option
scripts/Kconfig.toolchain: Drop compiler symbols from dependencies
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Diffstat (limited to 'scripts/Kconfig.include')
| -rw-r--r-- | scripts/Kconfig.include | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Kconfig.include b/scripts/Kconfig.include index 622d21e6953f..a7d9201acfcc 100644 --- a/scripts/Kconfig.include +++ b/scripts/Kconfig.include @@ -26,7 +26,7 @@ failure = $(if-success,$(1),n,y) # $(cc-probe,<flag>) # The command $(cc-option) and $(cc-option-str) test <flag> with. Not meant # to be called directly; use one of those two instead. -cc-probe = trap "rm -rf .tmp_$$" EXIT; mkdir .tmp_$$; $(CC) -Werror $(CLANG_FLAGS) $(1) -c -x c /dev/null -o .tmp_$$/tmp.o +cc-probe = trap "rm -rf .tmp_$$" EXIT; mkdir .tmp_$$; $(CC) -Werror $(CLANG_FLAGS) $(shell,echo $(1) | sed "s;^-Wno-;-W;") -c -x c /dev/null -o .tmp_$$/tmp.o # $(cc-option,<flag>) # Return y if the compiler supports <flag>, n otherwise |
