shr-project commented on PR #72:
URL: https://github.com/apache/apr/pull/72#issuecomment-4231256663
While this fixes the build on older hosts, side-effect of this is build
reproducibilty issue when cross-compiling on hosts with different gcc versions,
the installed ${datadir}/build-1/apr_rules.mk will contain different
CC_FOR_BUILD value based on which host it was built:
CC_FOR_BUILD=gcc -std=gnu23
or
CC_FOR_BUILD=gcc
As detected by OpenEmbedded builds:
https://valkyrie.yocto.io/pub/repro-fail/oe-reproducible-20260412-a5w4mcrk/packages/diff-html/
not sure how you want to handle it, as work around we're going to strip
-std=gnu23 from the installed file.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]