On Thu, Aug 18, 2022 at 10:31:34AM -0700, Vagrant Cascadian wrote:

> From: Vagrant Cascadian <vagr...@reproducible-builds.org>
> 
> The KBUILD_CFLAGS and KBUILD_AFLAGS variables are adjusted to use
> -ffile-prefix-map and --debug-prefix-map, respectively, to use
> relative paths for occurrences of __FILE__ and debug paths.
> 
> This enables reproducible builds regardless of the absolute path to
> the build directory:
> 
>   https://reproducible-builds.org/docs/build-path/
> 
> Signed-off-by: Vagrant Cascadian <vagr...@reproducible-builds.org>
> Acked-by: Rasmus Villemoes <rasmus.villem...@prevas.dk>

This needs some sort of clang check and then perhaps different flag
used? How does the linux kernel handle this? See:
https://source.denx.de/u-boot/u-boot/-/jobs/487013#L48

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to