]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
ffmpeg: use nasm patched-in debug-prefix-map option to restore reproducibility
authorAlexander Kanavin <alex.kanavin@gmail.com>
Wed, 4 Jan 2023 11:04:36 +0000 (12:04 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 6 Jan 2023 12:03:31 +0000 (12:03 +0000)
Latest nasm requires this as it otherwise writes full paths into its output.

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>
meta/recipes-multimedia/ffmpeg/ffmpeg_5.1.2.bb

index 06eca4fefe7d6af9ec9b7e167df3e8a6a3f954fe..0f67c9e9490415bbe7215fa6c992c33311a14593 100644 (file)
@@ -142,6 +142,7 @@ EXTRA_OEMAKE = "V=1"
 
 do_configure() {
     ${S}/configure ${EXTRA_OECONF}
+    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
 }
 
 # patch out build host paths for reproducibility