diff options
author | Victor Stinner <vstinner@python.org> | 2022-08-05 11:26:58 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-05 11:26:58 (GMT) |
commit | 398ed84dc40abc58e16f5014d44c08f20cb4b5f6 (patch) | |
tree | bdf8ba8c2fb1aed2a018134bd5991b76a0ac4eb1 /Makefile.pre.in | |
parent | 3a9e1fda7ab30e04545d3eceea1f2ccd37fa1f15 (diff) | |
download | cpython-398ed84dc40abc58e16f5014d44c08f20cb4b5f6.zip cpython-398ed84dc40abc58e16f5014d44c08f20cb4b5f6.tar.gz cpython-398ed84dc40abc58e16f5014d44c08f20cb4b5f6.tar.bz2 |
gh-93744: Remove configure --with-cxx-main option (#95651)
Remove the "configure --with-cxx-main" build option: it didn't work
for many years. Remove the MAINCC variable from configure and
Makefile.
The MAINCC variable was added by the issue gh-42471: commit
0f48d98b740110a672b62d467af192ec160e56ba. Previously, --with-cxx-main
was named --with-cxx.
Keep CXX and LDCXXSHARED variables, even if they are no longer used
by Python build system.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r-- | Makefile.pre.in | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in index 746ff42..7961616 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -36,7 +36,6 @@ abs_builddir= @abs_builddir@ CC= @CC@ CXX= @CXX@ -MAINCC= @MAINCC@ LINKCC= @LINKCC@ AR= @AR@ READELF= @READELF@ @@ -1222,10 +1221,10 @@ Modules/getpath.o: $(srcdir)/Modules/getpath.c Python/frozen_modules/getpath.h M -o $@ $(srcdir)/Modules/getpath.c Programs/python.o: $(srcdir)/Programs/python.c - $(MAINCC) -c $(PY_CORE_CFLAGS) -o $@ $(srcdir)/Programs/python.c + $(CC) -c $(PY_CORE_CFLAGS) -o $@ $(srcdir)/Programs/python.c Programs/_testembed.o: $(srcdir)/Programs/_testembed.c Programs/test_frozenmain.h - $(MAINCC) -c $(PY_CORE_CFLAGS) -o $@ $(srcdir)/Programs/_testembed.c + $(CC) -c $(PY_CORE_CFLAGS) -o $@ $(srcdir)/Programs/_testembed.c Modules/_sre/sre.o: $(srcdir)/Modules/_sre/sre.c $(srcdir)/Modules/_sre/sre.h $(srcdir)/Modules/_sre/sre_constants.h $(srcdir)/Modules/_sre/sre_lib.h |