The tzcode-native.bb recipe allows to pass to tzcode makefile a specific C compiler, using EXTRA_OEMAKE, with the following instruction: EXTRA_OEMAKE += "cc='${CC}'". In versions before 2023d such setting was working properly. Starting from 2023d version, instead, this approach is not working anymore: this seems to be due to changes in tzcode makefile executed in 2023d version (https://lists.iana.org/hyperkitty/list/tz-announce@iana.org/thread/WSF4TA5RFP7ECRKUKQFRHYN724HDMRTO/). I fixed that behavior updating the instruction as follow: EXTRA_OEMAKE += "CC='${CC}'"
Hi Alessio, Thanks for the bug report and for documenting the fix/work-around. Would you be willing to send a patch to the oe-core list? If so, this may help: https://docs.yoctoproject.org/contributor-guide/index.html
Hi Randy, I sent the patch for this issue: https://patchwork.yoctoproject.org/project/oe-core/patch/20250129073129.8734-1-alessio.cascone@vimar.com/
Patch has been accepted and merged to master branch.
https://git.openembedded.org/openembedded-core/commit/?id=b3cdfca5ef84ed2054faef9abddef3aeed930e17