[PATCH] D23934: Add a -ffixed-date-time= flag that sets the initial value of __DATE__, __TIME__, __TIMESTAMP__

Ed Maste via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 29 05:30:52 PST 2016


emaste added a comment.

Please also accept `SOURCE_DATE_EPOCH` set in the environment -- see https://reproducible-builds.org/specs/source-date-epoch/

Also although I'm generally leery of options auto-detecting the argument format, I think we should be able to pass an epoch timestamp to -ffixed-date-time.


https://reviews.llvm.org/D23934





More information about the cfe-commits mailing list