From: Alexander Kanavin Date: Wed, 4 Jan 2023 11:04:36 +0000 (+0100) Subject: ffmpeg: use nasm patched-in debug-prefix-map option to restore reproducibility X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~2103 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e94e714b890734bcc74977c7c9de40eda8463b60;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. Signed-off-by: Alexander Kanavin Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_5.1.2.bb b/meta/recipes-multimedia/ffmpeg/ffmpeg_5.1.2.bb index 06eca4fefe7..0f67c9e9490 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" 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