gettext: fix ptest package reproducibilty

(From OE-Core rev: 15fe7de55b90293a588703700b3de72cf95ecd79)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin
2020-03-06 22:51:38 +01:00
committed by Richard Purdie
parent 0e59abfb66
commit f303c98fda
2 changed files with 30 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
From 9b912a47f790a7b282ec0c2295a188c5d8fb6a7c Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Fri, 6 Mar 2020 21:04:05 +0000
Subject: [PATCH] init-env.in: do not add C/CXX parameters
These are taken from the cross environment and include
sysroot paths, so are not reproducible.
Upstream-Status: Inappropriate [oe-core specific]
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
gettext-tools/tests/init-env.in | 4 ----
1 file changed, 4 deletions(-)
diff --git a/gettext-tools/tests/init-env.in b/gettext-tools/tests/init-env.in
index cc84ffd..b69c990 100644
--- a/gettext-tools/tests/init-env.in
+++ b/gettext-tools/tests/init-env.in
@@ -3,10 +3,6 @@ top_builddir=../..
OBJEXT="@OBJEXT@"
EXEEXT="@EXEEXT@"
-CC="@CC@"
-CFLAGS="@CFLAGS@"
-CXX="@CXX@"
-CXXFLAGS="@CXXFLAGS@"
CPPFLAGS="@CPPFLAGS@"
LDFLAGS="@LDFLAGS@"
LTLIBINTL="@LTLIBINTL@"

View File

@@ -25,6 +25,7 @@ SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \
file://serial-tests-config.patch \
file://0001-msgmerge-Fix-behaviour-of-for-msgfmt-on-PO-files-wit.patch \
file://0001-tests-autopoint-3-unset-MAKEFLAGS.patch \
file://0001-init-env.in-do-not-add-C-CXX-parameters.patch \
"
SRC_URI[md5sum] = "bb5b0c0caa028105f3ca1905ddc306e2"
SRC_URI[sha256sum] = "66415634c6e8c3fa8b71362879ec7575e27da43da562c798a8a2f223e6e47f5c"