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:57:27 +0100 |
commit | f6247676a43e7aa2c8644067335e319edac41add (patch) | |
tree | 0a78ce409d1a5bd638020b63e3fab2eeee611dc7 /meta | |
parent | 551a1c088796c0e179fdc4053009f097ad4dd8b3 (diff) | |
download | poky-f6247676a43e7aa2c8644067335e319edac41add.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]
(From OE-Core rev: d614359556529b9d226a8636b467d00425c42c87)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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 | |||
32 | 32 | ||
33 | EXTRA_OECONF = "--program-prefix=eu-" | 33 | EXTRA_OECONF = "--program-prefix=eu-" |
34 | 34 | ||
35 | # Only used at runtime for make check but we want deterministic makefiles for ptest so hardcode | ||
36 | CACHED_CONFIGUREVARS += "ac_cv_prog_HAVE_BUNZIP2=yes" | ||
37 | |||
35 | BUILD_CFLAGS += "-Wno-error=stringop-overflow" | 38 | BUILD_CFLAGS += "-Wno-error=stringop-overflow" |
36 | 39 | ||
37 | DEPENDS_BZIP2 = "bzip2-replacement-native" | 40 | DEPENDS_BZIP2 = "bzip2-replacement-native" |