summaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2025-03-15 16:20:14 +0300
committerMasahiro Yamada <masahiroy@kernel.org>2025-03-22 17:50:58 +0300
commitcacd22ce69585a91c386243cd662ada962431e63 (patch)
tree8de99df025f314af5df2b1803581bf2f6b68b7a3 /rust/helpers/build_bug.c
parent97282e6d380db8a07120fe1b794ac969ee4a3b5c (diff)
downloadlinux-cacd22ce69585a91c386243cd662ada962431e63.tar.xz
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 <ben@decadent.org.uk> Link: https://lore.kernel.org/lkml/c49cc967294f9a3a4a34f69b6a8727a6d3959ed8.camel@decadent.org.uk/ Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions