You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
705 B
17 lines
705 B
Description: Build reproduceable date and time into build info |
|
Build information is encoded into getbuildinfo.o at build time. |
|
Use the date and time from the debian changelog, to make this reproduceable. |
|
|
|
Forwarded: no |
|
|
|
--- a/Makefile.pre.in |
|
+++ b/Makefile.pre.in |
|
@@ -1248,6 +1248,8 @@ |
|
-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 Python/frozen_modules/getpath.h Makefile $(PYTHON_HEADERS)
|
|
|