On 2021-11-10 21:44, [email protected] wrote:
I have a weird thing going on with *__DATE__* and *__TIME__* when building my app in the yocto environment.  I'm building for "genericx86-64" and I'm using __DATE__ and __TIME__ in my source to show what the build date/time of my app is at run time.  But... __DATE__ is always "*Apr 5 2011*" and __TIME__ is always "*23:00:00*". And, yes, the current time on the build machine is not that. Anyone else experience this and/or know how to fix it?  Oh, host is Ubuntu 20.04.3 LTS.

In your build you have reproducible build enabled. https://docs.yoctoproject.org/3.4/test-manual/reproducible-builds.html. You should be able to disable this function with help of the variable BUILD_REPRODUCIBLE_BINARIES. Reproducible builds are now enableb by default in Yocto.

/Peter

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#55307): https://lists.yoctoproject.org/g/yocto/message/55307
Mute This Topic: https://lists.yoctoproject.org/mt/86967072/21656
Mute #dunfell:https://lists.yoctoproject.org/g/yocto/mutehashtag/dunfell
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to