hfinkel added a comment.

In https://reviews.llvm.org/D23934#632216, @emaste wrote:

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


It looks like there's reasonable adoption of this: 
https://wiki.debian.org/ReproducibleBuilds/TimestampsProposal#Reading_the_variable
 and gcc >= 7 will support it.

> 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.

I'd also find this convenient. The auto-detection should be unambiguous (if it 
is an integer, then it is an epoch).


https://reviews.llvm.org/D23934



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to