* [PATCH] strace: Fix reproducibility issue
@ 2026-04-14 11:03 Richard Purdie
0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2026-04-14 11:03 UTC (permalink / raw)
To: openembedded-core
With the updated ax_prog_cc_for_build.m4 CC_FOR_BUILD can include a
" -std=gnu23" option on some hosts. We don't need this on target and
it leads to a reproducibility issue, so remove it.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
meta/recipes-devtools/strace/strace_6.19.bb | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/recipes-devtools/strace/strace_6.19.bb b/meta/recipes-devtools/strace/strace_6.19.bb
index 9dcf9d14d53..f44e9ed6f92 100644
--- a/meta/recipes-devtools/strace/strace_6.19.bb
+++ b/meta/recipes-devtools/strace/strace_6.19.bb
@@ -51,6 +51,7 @@ do_install_ptest() {
install -m 644 ${B}/src/config.h ${D}${PTEST_PATH}/src/
sed -e 's/^srcdir = .*/srcdir = ..\/..\/ptest\/tests/' \
-e "/^TEST_LOG_DRIVER =/s|(top_srcdir)|(top_builddir)|" \
+ -e '/^CC_FOR_BUILD/s/\s-std=gnu23//g' \
-i ${D}/${PTEST_PATH}/${TESTDIR}/Makefile
}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-04-14 11:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-14 11:03 [PATCH] strace: Fix reproducibility issue Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox