diff options
author | Khem Raj <raj.khem@gmail.com> | 2025-04-18 10:59:11 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-04-20 22:27:57 +0100 |
commit | 9495f3ec8e39d0968f86af61e80050c594979004 (patch) | |
tree | a0745a39767f9d40aa374ce7b0e1f02cf2133e27 /meta/recipes-graphics/fstests | |
parent | 75caf172bb2d369b4ac93723b0b5b43de98f153b (diff) | |
download | poky-master-next.tar.gz |
bitbake.conf: Switch prefix mapping to use -ffile-prefix-mapmaster-next
-ffile-prefix map is more comprehensive when it comes to reproducible
builds and its superset of all prefix-mapping options in compilers
This makes is cleaner and workable across gcc and clang, clang does not
support -fcanon-prefix-map and it has to be explicitly omitted when using
clang.
There are lambdas generated in templates by clang which still get the
absolute paths despite -fdebug-prefix-map, this helps with that as well.
nasm is an outlier and we have fixed it by adding -fdebug-prefix-map option
luckily we do not pass DEBUG_PREFIX_MAP to nasm, in all recipes which use
nasm either pass -fdebug-prefix-map explicitly to nasm or they rewrite it
to use nasm flags syntax.
We have discussed this in past [1]
[1] https://patchwork.yoctoproject.org/project/oe-core/patch/20230428032030.2047920-1-raj.khem@gmail.com/#10281
(From OE-Core rev: cdec2a02d5c0060d24973aeca6e33dcc6368e7c2)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Jacob Kroon <jacob.kroon@gmail.com>
Cc: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/fstests')
0 files changed, 0 insertions, 0 deletions