From f6247676a43e7aa2c8644067335e319edac41add Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 19 Sep 2023 13:40:51 +0100 Subject: [PATCH] elfutils: Fix reproducibility issue with bunzip2 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] (From OE-Core rev: d614359556529b9d226a8636b467d00425c42c87) Signed-off-by: Richard Purdie --- meta/recipes-devtools/elfutils/elfutils_0.189.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-devtools/elfutils/elfutils_0.189.bb b/meta/recipes-devtools/elfutils/elfutils_0.189.bb index 236f8cef92..d6352de5cf 100644 --- a/meta/recipes-devtools/elfutils/elfutils_0.189.bb +++ b/meta/recipes-devtools/elfutils/elfutils_0.189.bb @@ -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"