strace: Fix reproducibility issue
PATCH 1/1 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 <[email protected]>
--- meta/recipes-devtools/strace/strace_6.19.bb | 1 + 1 file changed, 1 insertion(+)
meta/recipes-devtools/strace/strace_6.19.bb +1 -0
@@ -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 }