diff options
| author | Thomas Weißschuh <[email protected]> | 2025-03-15 13:20:14 +0000 |
|---|---|---|
| committer | Masahiro Yamada <[email protected]> | 2025-03-22 14:50:58 +0000 |
| commit | cacd22ce69585a91c386243cd662ada962431e63 (patch) | |
| tree | 8de99df025f314af5df2b1803581bf2f6b68b7a3 /scripts/gcc-plugins/gcc-common.h | |
| parent | x86: drop unnecessary prefix map configuration (diff) | |
| download | kernel-cacd22ce69585a91c386243cd662ada962431e63.tar.gz kernel-cacd22ce69585a91c386243cd662ada962431e63.zip | |
kbuild: make all file references relative to source root
-fmacro-prefix-map only affects __FILE__ and __BASE_FILE__.
Other references, for example in debug information, are not affected.
This makes handling of file references in the compiler outputs harder to
use and creates problems for reproducible builds.
Switch to -ffile-prefix map which affects all references.
Also drop the documentation section advising manual specification of
-fdebug-prefix-map for reproducible builds, as it is not necessary
anymore.
Suggested-by: Ben Hutchings <[email protected]>
Link: https://lore.kernel.org/lkml/[email protected]/
Signed-off-by: Thomas Weißschuh <[email protected]>
Signed-off-by: Masahiro Yamada <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-common.h')
0 files changed, 0 insertions, 0 deletions
