diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-06-16 14:49:29 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-06-16 14:49:29 +0200 |
commit | 3787850c3ce0d776e2fe84e2936e985ac5df0e95 (patch) | |
tree | e00a45871d239fac4d504cc59825df37f10a5c2f | |
parent | Add missing textwrap import to datetimetester (diff) | |
download | cpython-3787850c3ce0d776e2fe84e2936e985ac5df0e95.tar.gz cpython-3787850c3ce0d776e2fe84e2936e985ac5df0e95.tar.bz2 cpython-3787850c3ce0d776e2fe84e2936e985ac5df0e95.zip |
Run just-built Python with -s -Sgentoo-3.13.0b2_p4
Add `-s` and `-S` flags to `PYTHON_FOR_BUILD` to ensure that the new
executable does not access the system site-packages. This avoids
sandbox errors when upgrading from 3.13.0b1.
Bug: https://bugs.gentoo.org/934079
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index c5631a2380f..70c3fb7f0a1 100644 --- a/configure.ac +++ b/configure.ac @@ -170,7 +170,7 @@ AC_ARG_WITH([build-python], AS_VAR_IF([cross_compiling], [yes], [AC_MSG_ERROR([Cross compiling requires --with-build-python])] ) - PYTHON_FOR_BUILD='./$(BUILDPYTHON) -E' + PYTHON_FOR_BUILD='./$(BUILDPYTHON) -E -s -S' PYTHON_FOR_FREEZE="./_bootstrap_python" ] ) |