diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-05 17:57:21 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-12 06:26:15 +0100 |
commit | 666548c44e273d1d3673830349e0781170719a6c (patch) | |
tree | b2f230dde27b3524e9e758eb6b4069fd41208bec | |
parent | d1a599bc4034d1fdb8539cafb2f9aed4ec842e68 (diff) | |
download | poky-666548c44e273d1d3673830349e0781170719a6c.tar.gz |
gettext: Fix reproducibility issue with LDFLAGS
If we add DEBUG_PREFIX_MAP into LDFLAGS, gettext-ptest is no longer reproducible.
Fix this.
(From OE-Core rev: c759bae9c3b360e0ca5321469e8d77512cadaf1e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-core/gettext/gettext_0.21.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/gettext/gettext_0.21.bb b/meta/recipes-core/gettext/gettext_0.21.bb index 4247b487ab..5ada709937 100644 --- a/meta/recipes-core/gettext/gettext_0.21.bb +++ b/meta/recipes-core/gettext/gettext_0.21.bb | |||
@@ -171,6 +171,7 @@ do_install_ptest() { | |||
171 | find ${D}${PTEST_PATH}/ -name "*.o" -exec rm {} \; | 171 | find ${D}${PTEST_PATH}/ -name "*.o" -exec rm {} \; |
172 | chmod 0755 ${D}${PTEST_PATH}/tests/lang-vala ${D}${PTEST_PATH}/tests/plural-1 ${D}${PTEST_PATH}/tests/xgettext-tcl-4 \ | 172 | chmod 0755 ${D}${PTEST_PATH}/tests/lang-vala ${D}${PTEST_PATH}/tests/plural-1 ${D}${PTEST_PATH}/tests/xgettext-tcl-4 \ |
173 | ${D}${PTEST_PATH}/tests/xgettext-vala-1 ${D}${PTEST_PATH}/tests/xgettext-po-2 | 173 | ${D}${PTEST_PATH}/tests/xgettext-vala-1 ${D}${PTEST_PATH}/tests/xgettext-po-2 |
174 | sed -i -e 's|${DEBUG_PREFIX_MAP}||g' ${D}${PTEST_PATH}/tests/init-env | ||
174 | fi | 175 | fi |
175 | } | 176 | } |
176 | 177 | ||