2023-05-26 15:34:18 +00:00
|
|
|
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
|
2019-06-23 02:47:16 +02:00
|
|
|
|
|
|
|
|
--- a/Makefile.pre.in
|
|
|
|
|
+++ b/Makefile.pre.in
|
2024-04-18 17:18:44 +00:00
|
|
|
@@ -1248,6 +1248,8 @@
|
2019-06-23 02:47:16 +02:00
|
|
|
-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
|
2023-05-26 15:34:18 +00:00
|
|
|
|
2024-04-18 17:18:44 +00:00
|
|
|
Modules/getpath.o: $(srcdir)/Modules/getpath.c Python/frozen_modules/getpath.h Makefile $(PYTHON_HEADERS)
|