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>
This commit is contained in:
Alexander Kanavin
2023-01-04 12:04:36 +01:00
committed by Richard Purdie
parent 4b213e109c
commit 5ef4b23d94

View 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