From 9119a882adbf19df9f47f66cebaa7f730d3e9462 Mon Sep 17 00:00:00 2001 From: Joshua Watt Date: Sun, 8 Dec 2019 22:03:12 -0600 Subject: [PATCH] libjpeg-turbo: Build reproducibly Configures the options passed to nasm to remove build paths in the generated object files. Signed-off-by: Joshua Watt Signed-off-by: Richard Purdie --- meta/recipes-graphics/jpeg/libjpeg-turbo_2.0.3.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-graphics/jpeg/libjpeg-turbo_2.0.3.bb b/meta/recipes-graphics/jpeg/libjpeg-turbo_2.0.3.bb index 1cf854de62..32d3bd93b1 100644 --- a/meta/recipes-graphics/jpeg/libjpeg-turbo_2.0.3.bb +++ b/meta/recipes-graphics/jpeg/libjpeg-turbo_2.0.3.bb @@ -29,6 +29,8 @@ RCONFLICTS_${PN} += "jpeg" inherit cmake pkgconfig +export NASMENV = "--debug-prefix-map=${WORKDIR}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}" + # Add nasm-native dependency consistently for all build arches is hard EXTRA_OECMAKE_append_class-native = " -DWITH_SIMD=False" EXTRA_OECMAKE_append_class-nativesdk = " -DWITH_SIMD=False" -- 2.40.1