forked from pool/python312
Matej Cepl
c8f2873f34
- Add 00398-fix-stack-overwrite-on-32-bit-in-perf-map-test-harness-gh-104811-104823.patch gh#python/cpython#104811 - Refresh all patches - Update to 3.12.0b1: Full changelog can be found here https://docs.python.org/dev/whatsnew/changelog.html#python-3-12-0-beta-1 OBS-URL: https://build.opensuse.org/request/show/1090373 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python312?expand=0&rev=7
28 lines
1.1 KiB
Diff
28 lines
1.1 KiB
Diff
---
|
|
Makefile.pre.in | 7 +++++++
|
|
1 file changed, 7 insertions(+)
|
|
|
|
Index: Python-3.12.0b1/Makefile.pre.in
|
|
===================================================================
|
|
--- Python-3.12.0b1.orig/Makefile.pre.in
|
|
+++ Python-3.12.0b1/Makefile.pre.in
|
|
@@ -1332,11 +1332,18 @@ Modules/getbuildinfo.o: $(PARSER_OBJS) \
|
|
$(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
|
|
+
|
|
Modules/getpath.o: $(srcdir)/Modules/getpath.c Python/frozen_modules/getpath.h Makefile $(PYTHON_HEADERS)
|
|
$(CC) -c $(PY_CORE_CFLAGS) -DPYTHONPATH='"$(PYTHONPATH)"' \
|
|
-DPREFIX='"$(prefix)"' \
|