summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2016-11-21 08:13:15 (GMT)
committerGregory P. Smith <greg@krypto.org>2016-11-21 08:13:15 (GMT)
commit1fb1c998b2c5e0b97aa909688793e405dfea08f0 (patch)
tree36d8edc4c148c2cca737a15055ae6b02be9d62dd
parent1107a3e2ea2198fd11779764bf61e064e1e5b494 (diff)
parent2863c387b07fdd03b8068c9209691915f039d2c8 (diff)
downloadcpython-1fb1c998b2c5e0b97aa909688793e405dfea08f0.zip
cpython-1fb1c998b2c5e0b97aa909688793e405dfea08f0.tar.gz
cpython-1fb1c998b2c5e0b97aa909688793e405dfea08f0.tar.bz2
replace --with-optimizations references with --enable-optimizations in docs.
-rw-r--r--Doc/whatsnew/3.6.rst2
-rw-r--r--README2
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/whatsnew/3.6.rst b/Doc/whatsnew/3.6.rst
index 0b2e6b7..f43416d 100644
--- a/Doc/whatsnew/3.6.rst
+++ b/Doc/whatsnew/3.6.rst
@@ -1795,7 +1795,7 @@ Build and C API Changes
yet a supported platform, the Python test suite runs on the Android emulator
with only about 16 tests failures. See the Android meta-issue :issue:`26865`.
-* The ``--with-optimizations`` configure flag has been added. Turning it on
+* The ``--enable-optimizations`` configure flag has been added. Turning it on
will activate expensive optimizations like PGO.
(Original patch by Alecsandru Patrascu of Intel in :issue:`26539`.)
diff --git a/README b/README
index 2e6935a..3faacdb 100644
--- a/README
+++ b/README
@@ -46,7 +46,7 @@ For example:
(This will fail if you *also* built at the top-level directory.
You should do a "make clean" at the toplevel first.)
-To get an optimized build of Python, "configure --with-optimizations" before
+To get an optimized build of Python, "configure --enable-optimizations" before
you run make. This sets the default make targets up to enable Profile Guided
Optimization (PGO) and may be used to auto-enable Link Time Optimization (LTO)
on some platforms. For more details, see the sections bellow.