Skip to content

Commit

Permalink
replace --with-optimizations references with --enable-optimizations i…
Browse files Browse the repository at this point in the history
…n docs.
  • Loading branch information
gpshead committed Nov 21, 2016
2 parents 1107a3e + 2863c38 commit 1fb1c99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Doc/whatsnew/3.6.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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`.)

Expand Down
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 1fb1c99

Please sign in to comment.