diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2023-01-04 12:04:36 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-01-06 12:03:47 +0000 |
commit | 5ef4b23d946afdace910d166521d0b3abf19d671 (patch) | |
tree | b9d26851ed0728a4d2426845b87cc978a1ef86d1 /meta/recipes-multimedia | |
parent | 4b213e109c67825e6192e9b912b71c9dc1740ff2 (diff) | |
download | poky-5ef4b23d946afdace910d166521d0b3abf19d671.tar.gz |
ffmpeg: use nasm patched-in debug-prefix-map option to restore reproducibility
Latest nasm requires this as it otherwise writes full paths into its output.
(From OE-Core rev: e94e714b890734bcc74977c7c9de40eda8463b60)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia')
-rw-r--r-- | meta/recipes-multimedia/ffmpeg/ffmpeg_5.1.2.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_5.1.2.bb b/meta/recipes-multimedia/ffmpeg/ffmpeg_5.1.2.bb index 06eca4fefe..0f67c9e949 100644 --- a/meta/recipes-multimedia/ffmpeg/ffmpeg_5.1.2.bb +++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_5.1.2.bb | |||
@@ -142,6 +142,7 @@ EXTRA_OEMAKE = "V=1" | |||
142 | 142 | ||
143 | do_configure() { | 143 | do_configure() { |
144 | ${S}/configure ${EXTRA_OECONF} | 144 | ${S}/configure ${EXTRA_OECONF} |
145 | sed -i -e "s,^X86ASMFLAGS=.*,& --debug-prefix-map=${S}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR} --debug-prefix-map=${B}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR},g" ${B}/ffbuild/config.mak | ||
145 | } | 146 | } |
146 | 147 | ||
147 | # patch out build host paths for reproducibility | 148 | # patch out build host paths for reproducibility |