2022-05-09 17:04:49 +02:00
|
|
|
---
|
|
|
|
Makefile.pre.in | 7 +++++++
|
|
|
|
1 file changed, 7 insertions(+)
|
|
|
|
|
|
|
|
--- a/Makefile.pre.in
|
|
|
|
+++ b/Makefile.pre.in
|
2022-12-08 16:05:06 +01:00
|
|
|
@@ -1235,11 +1235,18 @@ Modules/getbuildinfo.o: $(PARSER_OBJS) \
|
2022-05-09 17:04:49 +02:00
|
|
|
$(DTRACE_OBJS) \
|
|
|
|
$(srcdir)/Modules/getbuildinfo.c
|
|
|
|
$(CC) -c $(PY_CORE_CFLAGS) \
|
|
|
|
+ -DDATE="\"`date -u -r Makefile.pre.in +"%b %d %Y"`\"" \
|
|
|
|
+ -DTIME="\"`date -u -r Makefile.pre.in +"%T"`\"" \
|
|
|
|
-DGITVERSION="\"`LC_ALL=C $(GITVERSION)`\"" \
|
|
|
|
-DGITTAG="\"`LC_ALL=C $(GITTAG)`\"" \
|
|
|
|
-DGITBRANCH="\"`LC_ALL=C $(GITBRANCH)`\"" \
|
|
|
|
-o $@ $(srcdir)/Modules/getbuildinfo.c
|
|
|
|
|
|
|
|
+Python/getcompiler.o: $(srcdir)/Python/getcompiler.c Makefile
|
|
|
|
+ $(CC) -c $(PY_CORE_CFLAGS) \
|
|
|
|
+ -DCOMPILER='"[GCC]"' \
|
|
|
|
+ -o $@ $(srcdir)/Python/getcompiler.c
|
|
|
|
+
|
2022-05-10 13:17:42 +02:00
|
|
|
Modules/getpath.o: $(srcdir)/Modules/getpath.c Python/frozen_modules/getpath.h Makefile $(PYTHON_HEADERS)
|
2022-05-09 17:04:49 +02:00
|
|
|
$(CC) -c $(PY_CORE_CFLAGS) -DPYTHONPATH='"$(PYTHONPATH)"' \
|
|
|
|
-DPREFIX='"$(prefix)"' \
|