[OE-core] [PATCH 2/2] libjpeg-turbo: Build reproducibly

Joshua Watt jpewhacker at gmail.com
Mon Dec 9 04:03:12 UTC 2019


Configures the options passed to nasm to remove build paths in the
generated object files.

Signed-off-by: Joshua Watt <JPEWhacker at gmail.com>
---
 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 1cf854de625..32d3bd93b18 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.23.0



More information about the Openembedded-core mailing list