[meta-gplv2,2/2] elfutils: Work around reproducibility issue

Submitted by Richard Purdie on Aug. 19, 2021, 5 p.m. | Patch ID: 180118

Details

Message ID 20210819170044.45851-2-richard.purdie@linuxfoundation.org
State New
Headers show

Commit Message

Richard Purdie Aug. 19, 2021, 5 p.m.
The version in this layer doesn't reproduce, so disable the warnings/errors
and allow it to build.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 recipes-devtools/elfutils/elfutils_0.148.bb | 3 +++
 1 file changed, 3 insertions(+)

Patch hide | download patch | download mbox

diff --git a/recipes-devtools/elfutils/elfutils_0.148.bb b/recipes-devtools/elfutils/elfutils_0.148.bb
index 848e2cf..97d88a2 100644
--- a/recipes-devtools/elfutils/elfutils_0.148.bb
+++ b/recipes-devtools/elfutils/elfutils_0.148.bb
@@ -66,6 +66,9 @@  CFLAGS += "-Wno-error=format-truncation="
 # but 0.182 has different license, so to be safe don't backport the fix, just ignore the issue
 CFLAGS += "-Wno-error=stringop-overflow="
 
+# There are fixes in later versions for this but the old version won't be reproducible
+TARGET_CC_ARCH:remove:class-target = " -Wdate-time"
+
 EXTRA_OECONF = "--program-prefix=eu- --without-lzma"
 EXTRA_OECONF:append:class-native = " --without-bzlib"