From: Richard Purdie Date: Tue, 14 Apr 2026 11:01:23 +0000 (+0100) Subject: strace: Fix reproducibility issue X-Git-Tag: yocto-6.0~120 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e52dbcd912ae738ffa102800e91fcfd4a00dfa92;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git strace: Fix reproducibility issue 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 --- diff --git a/meta/recipes-devtools/strace/strace_6.19.bb b/meta/recipes-devtools/strace/strace_6.19.bb index 9dcf9d14d5..f44e9ed6f9 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 }