From: Matthias Klose Date: Thu, 23 Jul 2020 09:11:14 +0000 (+0100) Subject: reproducible-buildinfo X-Git-Tag: archive/raspbian/3.9.0_rc1-1+rpi1~1^2~8 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3bf107dc2e2979ed259b4098201b3d64c62743fd;p=python3.9.git reproducible-buildinfo # DP: Build getbuildinfo.o with DATE/TIME values when defined # DP: Build getbuildinfo.o with DATE/TIME values when defined Gbp-Pq: Name reproducible-buildinfo.diff --- diff --git a/Makefile.pre.in b/Makefile.pre.in index e8d7eeb..d0e9e23 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -777,6 +777,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