1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Mon, 2 May 2022 03:15:19 +0000
X-Dgit-Generated: 0.9.4.4-6 c563133b64ad20cbea8db1b4b6258823f9ea639f
Subject: SConstruct: Explicitly add SOURCE_DATE_EPOCH to the
environment. (Closes: #1010466)
https://tests.reproducible-builds.org/debian/issues/scons_doesnt_pass_environment_to_build_tools_issue.html
---
--- glob2-0.9.4.4.orig/SConstruct
+++ glob2-0.9.4.4/SConstruct
@@ -241,6 +241,8 @@ def main():
except AttributeError:
env.Clone = env.Copy
+ env.Append(ENV={'SOURCE_DATE_EPOCH': os.environ['SOURCE_DATE_EPOCH']})
+
if not env['CC']:
print("No compiler found in PATH. Please install gcc or another compiler.")
Exit(1)
|