diff options
| author | Jaihind Yadav <jaihindy@qti.qualcomm.com> | 2026-08-20 11:31:16 +0530 |
|---|---|---|
| committer | Nathan Chancellor <nathan@kernel.org> | 2026-09-01 16:12:15 -0700 |
| commit | 51794b107d54b3c9a8ebbe12a3b81d8495bd482c (patch) | |
| tree | b7497085066646d3748fd1711c419a14810f5ffa /tools/lib/python/kdoc/python_version.py | |
| parent | 7c1bcd3f127f3ba1a35faa15374222b6062c9712 (diff) | |
| download | linux-next-51794b107d54b3c9a8ebbe12a3b81d8495bd482c.tar.gz linux-next-51794b107d54b3c9a8ebbe12a3b81d8495bd482c.zip | |
scripts/gcc-plugins: suppress recorded GCC switches for extmod builds
With GCC plugins enabled, external module builds can record
-fplugin=... paths in DWARF producer metadata via
-grecord-gcc-switches, leaking host/build specific paths and
triggering QA checks.
Handle this in scripts/Makefile.gcc-plugins for KBUILD_EXTMOD
builds by adding -gno-record-gcc-switches to plugin cflags.
This keeps plugin behavior unchanged while avoiding absolute
plugin path leakage in external module debug metadata.
Suggested-by: Nathan Chancellor <nathan@kernel.org>
Link: https://lore.kernel.org/all/20260817185146.GC1249844@ax162/
Signed-off-by: Jaihind Yadav <jaihindy@qti.qualcomm.com>
Link: https://patch.msgid.link/20260820060116.786173-1-jaihindy@qti.qualcomm.com
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
