Browse Source
There was a problem where Python would not properly include the faketime timestamp sometimes. This patch replaces faketime with a patch that is used by Ubuntu for reproducible builds by exporting BUILD_DATE and BUILD_TIME with the desired values. ----- taken from Electron-Cash/Electron-Cash@9532508a3f466aab794fae4f8e314617d5a873f9dependabot/pip/contrib/deterministic-build/ecdsa-0.13.3
Axel Gembe
6 years ago
committed by
SomberNight
2 changed files with 19 additions and 2 deletions
@ -0,0 +1,13 @@ |
|||
# DP: Build getbuildinfo.o with DATE/TIME values when defined |
|||
|
|||
--- a/Makefile.pre.in
|
|||
+++ b/Makefile.pre.in
|
|||
@@ -741,6 +741,8 @@ Modules/getbuildinfo.o: $(PARSER_OBJS) \
|
|||
-DGITVERSION="\"`LC_ALL=C $(GITVERSION)`\"" \ |
|||
-DGITTAG="\"`LC_ALL=C $(GITTAG)`\"" \ |
|||
-DGITBRANCH="\"`LC_ALL=C $(GITBRANCH)`\"" \ |
|||
+ $(if $(BUILD_DATE),-DDATE='"$(BUILD_DATE)"') \
|
|||
+ $(if $(BUILD_TIME),-DTIME='"$(BUILD_TIME)"') \
|
|||
-o $@ $(srcdir)/Modules/getbuildinfo.c |
|||
|
|||
Modules/getpath.o: $(srcdir)/Modules/getpath.c Makefile |
Loading…
Reference in new issue