diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-09-19 13:40:51 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-09-20 08:55:49 +0100 |
commit | d614359556529b9d226a8636b467d00425c42c87 (patch) | |
tree | f2fa70ba9bad4bc8e88791d0170641fc870c1849 /meta/recipes-devtools/elfutils | |
parent | 24b7cd2e58c0a2f48cefb09a3363fd982d50f575 (diff) | |
download | openembedded-core-d614359556529b9d226a8636b467d00425c42c87.tar.gz |
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]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/elfutils')
-rw-r--r-- | meta/recipes-devtools/elfutils/elfutils_0.189.bb | 3 |
1 files changed, 3 insertions, 0 deletions
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" |