Message ID | 20221214112735.21135-1-alex.kiernan@gmail.com |
---|---|
State | Under Review |
Headers | show |
Series | [meta-networking,1/2] mdns: Set MDNS_VERSIONSTR_NODTS | expand |
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)}"
MDNS_VERSIONSTR_NODTS disables __DATE__ and __TIME__ in the version string, which are fixed anyway for build reproducibility. Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> --- meta-networking/recipes-protocols/mdns/mdns_1790.40.31.bb | 4 ++++ 1 file changed, 4 insertions(+)