summaryrefslogtreecommitdiffstats
path: root/src/executor.rs
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2021-10-15 21:00:38 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2021-10-18 21:05:26 +0200
commitcf620daeee00fe497395f4de3eb2c063f28e4e21 (patch)
tree60ea49a8814f80482682c0584764cfdaf50b1a86 /src/executor.rs
parent50eba6ec77317a17be82488570aa63aa7c127063 (diff)
downloadrebel-cf620daeee00fe497395f4de3eb2c063f28e4e21.tar
rebel-cf620daeee00fe497395f4de3eb2c063f28e4e21.zip
executor: set SOURCE_TIME_EPOCH to 1
Eventually we will have a smarter way to set the timestamp, but for now this is sufficient. We do not use the value 0, as not all tools work correctly with it.
Diffstat (limited to 'src/executor.rs')
-rw-r--r--src/executor.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/executor.rs b/src/executor.rs
index bbc6a9f..2350749 100644
--- a/src/executor.rs
+++ b/src/executor.rs
@@ -174,6 +174,8 @@ impl<'ctx> Executor<'ctx> {
fn task_setup(&self, task_ref: &TaskRef<'ctx>) -> Vec<&'static str> {
let mut ret = vec![indoc! {"
+ export SOURCE_DATE_EPOCH=1
+
export AR_FOR_BUILD=ar
export AS_FOR_BUILD=as
export DLLTOOL_FOR_BUILD=dlltool