b09e468ffb
* build Python 3.9.6 * use Python 3.9 docker image * fix pyjnius recipe * remove unused dependencies from cryptography recipe * fix PYTHON3_DLL_REL_PATH value * add idna requirement * Remove m abi flag from python lib (https://docs.python.org/3/whatsnew/3.8.html#build-and-c-api-changes) * aiohttp==3.6.0 * Add base Dockerfiles for builds
13 lines
536 B
Diff
13 lines
536 B
Diff
# DP: Build getbuildinfo.o with DATE/TIME values when defined
|
|
|
|
--- a/Makefile.pre.in
|
|
+++ b/Makefile.pre.in
|
|
@@ -785,6 +785,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
|