]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
elfutils: Fix reproducibility issue with bunzip2
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 19 Sep 2023 12:40:51 +0000 (13:40 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 20 Sep 2023 07:55:49 +0000 (08:55 +0100)
bunzip2 is only detected/needed for "make check" tests however if left floating,
the generated makefiles used in the ptests are not deterministic. Force a value
to avoid this.

[YOCTO #15209]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/elfutils/elfutils_0.189.bb

index 236f8cef92d4fcad0e33614397bdbfa5a7992aa0..d6352de5cf528bf02097a74e485d4b555cc34fd0 100644 (file)
@@ -32,6 +32,9 @@ inherit autotools gettext ptest pkgconfig
 
 EXTRA_OECONF = "--program-prefix=eu-"
 
+# Only used at runtime for make check but we want deterministic makefiles for ptest so hardcode
+CACHED_CONFIGUREVARS += "ac_cv_prog_HAVE_BUNZIP2=yes"
+
 BUILD_CFLAGS += "-Wno-error=stringop-overflow"
 
 DEPENDS_BZIP2 = "bzip2-replacement-native"