On Wednesday 2016-06-29 15:26, Jan Engelhardt wrote:
On Wednesday 2016-06-29 15:02, Olaf Hering wrote:
How is SOURCE_DATE_EPOCH supposed to be used? Is it required to patch each pkg, or should rather the thing which tweaks Release: during build also inject a "export SOURCE_DATE_EPOCH=∞" right after the %build/%install lines?
gcc defaults to -DSOURCE_DATE_EPOCH=$(date +%s) -D__DATE__=$(prettyprint SOURCE_DATE_EPOCH) -D__TIME__=$(prettyprint SOURCE_DATE_EPOCH)
And you can override the former.
Gah, not a macro. An environment variable. printf("%s\n", __DATE__) >>test.c $ SOURCE_DATE_EPOCH=0 gcc-6 test.c && ./a.out Jan 1 1970 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org