Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1fb1c99

Browse files
committed
replace --with-optimizations references with --enable-optimizations in docs.
2 parents 1107a3e + 2863c38 commit 1fb1c99

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/whatsnew/3.6.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1795,7 +1795,7 @@ Build and C API Changes
17951795
yet a supported platform, the Python test suite runs on the Android emulator
17961796
with only about 16 tests failures. See the Android meta-issue :issue:`26865`.
17971797

1798-
* The ``--with-optimizations`` configure flag has been added. Turning it on
1798+
* The ``--enable-optimizations`` configure flag has been added. Turning it on
17991799
will activate expensive optimizations like PGO.
18001800
(Original patch by Alecsandru Patrascu of Intel in :issue:`26539`.)
18011801

README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ For example:
4646
(This will fail if you *also* built at the top-level directory.
4747
You should do a "make clean" at the toplevel first.)
4848

49-
To get an optimized build of Python, "configure --with-optimizations" before
49+
To get an optimized build of Python, "configure --enable-optimizations" before
5050
you run make. This sets the default make targets up to enable Profile Guided
5151
Optimization (PGO) and may be used to auto-enable Link Time Optimization (LTO)
5252
on some platforms. For more details, see the sections bellow.

0 commit comments

Comments
 (0)