]> code.ossystems Code Review - openembedded-core.git/commitdiff
libnewt: Use python3targetconfig to fix reproducibility issue
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 12 Oct 2021 10:45:26 +0000 (11:45 +0100)
committerAnuj Mittal <anuj.mittal@intel.com>
Tue, 26 Oct 2021 00:47:46 +0000 (08:47 +0800)
We're seeing pthread being linked sometimes and not others leading to
non-reproducible target binaries. The reason is mixing the native python
config with the target one. We should use the target one.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3fe5101b335384ef83e96ccc58687fd631164075)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/recipes-extended/newt/libnewt_0.52.21.bb

index 84d327ca88987eaf9b7ecf1b56bc2f0d70e67101..86301b95ebd79e1ff5197cc65776ba623fd916a5 100644 (file)
@@ -29,7 +29,7 @@ SRC_URI[sha256sum] = "265eb46b55d7eaeb887fca7a1d51fe115658882dfe148164b6c49fccac
 
 S = "${WORKDIR}/newt-${PV}"
 
-inherit autotools-brokensep python3native python3-dir
+inherit autotools-brokensep python3native python3-dir python3targetconfig
 
 EXTRA_OECONF = "--without-tcl --with-python"