2019-04-09 00:40:36 +02:00
|
|
|
--- a/Makefile.pre.in
|
|
|
|
+++ b/Makefile.pre.in
|
|
|
|
@@ -647,8 +647,15 @@ Modules/getbuildinfo.o: $(PARSER_OBJS) \
|
2017-11-21 19:28:14 +01:00
|
|
|
-DGITVERSION="\"`LC_ALL=C $(GITVERSION)`\"" \
|
|
|
|
-DGITTAG="\"`LC_ALL=C $(GITTAG)`\"" \
|
|
|
|
-DGITBRANCH="\"`LC_ALL=C $(GITBRANCH)`\"" \
|
2011-08-24 15:28:09 +02:00
|
|
|
+ -DDATE="\"`LC_ALL=C date -u -r Makefile.pre.in +"%b %d %Y"`\"" \
|
|
|
|
+ -DTIME="\"`LC_ALL=C date -u -r Makefile.pre.in +"%T"`\"" \
|
|
|
|
-o $@ $(srcdir)/Modules/getbuildinfo.c
|
|
|
|
|
|
|
|
+Python/getcompiler.o: $(srcdir)/Python/getcompiler.c Makefile
|
|
|
|
+ $(CC) -c $(PY_CFLAGS) \
|
|
|
|
+ -DCOMPILER='"[GCC]"' \
|
|
|
|
+ -o $@ $(srcdir)/Python/getcompiler.c
|
|
|
|
+
|
|
|
|
Modules/getpath.o: $(srcdir)/Modules/getpath.c Makefile
|
|
|
|
$(CC) -c $(PY_CFLAGS) -DPYTHONPATH='"$(PYTHONPATH)"' \
|
|
|
|
-DPREFIX='"$(prefix)"' \
|