summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics
diff options
context:
space:
mode:
authorJoshua Watt <jpewhacker@gmail.com>2019-12-08 22:03:12 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-12-15 09:04:38 +0000
commit9119a882adbf19df9f47f66cebaa7f730d3e9462 (patch)
tree1ab0d19a2435a25ce2c5c9ca1dc9c6387bf0cf57 /meta/recipes-graphics
parentad5c914933c7b38296dcb8bba3c36aed45aacc32 (diff)
downloadopenembedded-core-contrib-9119a882adbf19df9f47f66cebaa7f730d3e9462.tar.gz
libjpeg-turbo: Build reproducibly
Configures the options passed to nasm to remove build paths in the generated object files. Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r--meta/recipes-graphics/jpeg/libjpeg-turbo_2.0.3.bb2
1 files changed, 2 insertions, 0 deletions
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"