MDNS_VERSIONSTR_NODTS disables __DATE__ and __TIME__ in the version string,
which are fixed anyway for build reproducibility.

Signed-off-by: Alex Kiernan <[email protected]>
---
 meta-networking/recipes-protocols/mdns/mdns_1790.40.31.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta-networking/recipes-protocols/mdns/mdns_1790.40.31.bb 
b/meta-networking/recipes-protocols/mdns/mdns_1790.40.31.bb
index 84018de1bbb8..eb4d3eeaa561 100644
--- a/meta-networking/recipes-protocols/mdns/mdns_1790.40.31.bb
+++ b/meta-networking/recipes-protocols/mdns/mdns_1790.40.31.bb
@@ -62,6 +62,10 @@ PARALLEL_MAKE = ""
 
 EXTRA_OEMAKE = "os=linux 'CC=${CCLD}' 'LD=${CCLD}' 'LINKOPTS=${LDFLAGS}' 
STRIP=: ${PACKAGECONFIG_CONFARGS}"
 
+# MDNS_VERSIONSTR_NODTS disables __DATE__ and __TIME__ in the version string,
+# which are fixed anyway for build reproducibility.
+TARGET_CPPFLAGS += "-DMDNS_VERSIONSTR_NODTS"
+
 TARGET_CC_ARCH += "${LDFLAGS}"
 
 MDNS_BUILDDIR = 
"build/${@bb.utils.contains('PACKAGECONFIG','debug','debug','prod', d)}"
-- 
2.35.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#100077): 
https://lists.openembedded.org/g/openembedded-devel/message/100077
Mute This Topic: https://lists.openembedded.org/mt/95664394/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to