diff --git a/ngx_rtmp_stat_module.c b/ngx_rtmp_stat_module.c index 8d21c8b..265d951 100644 --- a/ngx_rtmp_stat_module.c +++ b/ngx_rtmp_stat_module.c @@ -833,7 +833,10 @@ ngx_rtmp_stat_handler(ngx_http_request_t *r) #ifdef NGX_COMPILER NGX_RTMP_STAT_L("" NGX_COMPILER "\r\n"); #endif +/* This may prevent reproducible builds. If you need that info - pass `-DNGX_BUILD_DATEITIME=1` to CFLAGS */ +#ifdef NGX_BUILD_DATEITIME NGX_RTMP_STAT_L("" __DATE__ " " __TIME__ "\r\n"); +#endif NGX_RTMP_STAT_L(""); NGX_RTMP_STAT(nbuf, ngx_snprintf(nbuf, sizeof(nbuf),