summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorNed Deily <nad@python.org>2024-07-16 10:49:36 (GMT)
committerGitHub <noreply@github.com>2024-07-16 10:49:36 (GMT)
commitf27593a87c344f3774ca73644a11cbd5614007ef (patch)
tree50a8804246dacc33103d252fbd95f99b531b8093 /Makefile.pre.in
parent8549559f383dfcc0ad0c32496f62a4b737c05b4f (diff)
downloadcpython-f27593a87c344f3774ca73644a11cbd5614007ef.zip
cpython-f27593a87c344f3774ca73644a11cbd5614007ef.tar.gz
cpython-f27593a87c344f3774ca73644a11cbd5614007ef.tar.bz2
gh-120522: Revert "Add a `--with-app-store-compliance` configure option to patch out problematic code" (gh-120984) (#121844)
This reverts commit 48cd104b0cf05dad8958efa9cb9666c029ef9201 prior to the release of 3.13.0b4 to allow for additional review time.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in17
1 files changed, 1 insertions, 16 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index d380c42..3b2e35d 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -179,9 +179,6 @@ EXPORTSFROM= @EXPORTSFROM@
EXE= @EXEEXT@
BUILDEXE= @BUILDEXEEXT@
-# Name of the patch file to apply for app store compliance
-APP_STORE_COMPLIANCE_PATCH=@APP_STORE_COMPLIANCE_PATCH@
-
# Short name and location for Mac OS X Python framework
UNIVERSALSDK=@UNIVERSALSDK@
PYTHONFRAMEWORK= @PYTHONFRAMEWORK@
@@ -695,7 +692,7 @@ list-targets:
@grep -E '^[A-Za-z][-A-Za-z0-9]+:' Makefile | awk -F : '{print $$1}'
.PHONY: build_all
-build_all: check-clean-src @APP_STORE_COMPLIANCE_PATCH_TARGET@ $(BUILDPYTHON) platform sharedmods \
+build_all: check-clean-src $(BUILDPYTHON) platform sharedmods \
gdbhooks Programs/_testembed scripts checksharedmods rundsymutil
.PHONY: build_wasm
@@ -931,18 +928,6 @@ SRC_GDB_HOOKS=$(srcdir)/Tools/gdb/libpython.py
$(BUILDPYTHON)-gdb.py: $(SRC_GDB_HOOKS)
$(INSTALL_DATA) $(SRC_GDB_HOOKS) $(BUILDPYTHON)-gdb.py
-# Compliance with app stores (such as iOS and macOS) sometimes requires making
-# modifications to the Python standard library. If enabled, apply the patch of
-# known modifications to the source tree before building. The patch will be
-# applied in a dry-run mode (validating, but not applying the patch) on builds
-# that *have* a compliance patch, but where compliance has not been enabled.
-build/app-store-compliant:
- patch @APP_STORE_COMPLIANCE_PATCH_FLAGS@ --forward --strip=1 --directory="$(srcdir)" --input "$(APP_STORE_COMPLIANCE_PATCH)"
- @if test "@APP_STORE_COMPLIANCE_PATCH_FLAGS@" == ""; then \
- mkdir -p build ; \
- echo "$(APP_STORE_COMPLIANCE_PATCH)" > build/app-store-compliant ; \
- fi
-
# This rule is here for OPENSTEP/Rhapsody/MacOSX. It builds a temporary
# minimal framework (not including the Lib directory and such) in the current
# directory.