]> granicus.if.org Git - python/commit
[3.6] bpo-29243: Fix Makefile with respect to --enable-optimizations (GH-1478) (...
authortorsava <torsava@redhat.com>
Tue, 9 May 2017 14:05:10 +0000 (16:05 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 9 May 2017 14:05:10 +0000 (16:05 +0200)
commit03b8a378dfa46372b96790f82c85e9b72518f1bf
treea821d6b0ab19c66ffbc7bf756a139ecee2ad842e
parent72e1b61da0920c5607481304879e039b63e2a3d5
[3.6] bpo-29243: Fix Makefile with respect to --enable-optimizations (GH-1478) (#1518)

* bpo-29243: Fix Makefile with respect to --enable-optimizations (#1478)

* bpo-29243: Fix Makefile with respect to --enable-optimizations

When using the Profile Guided Optimization (./configure --enable-optimizations)
Python is built not only during `make` but rebuilt again during `make test`,
`make install` and others. This patch fixes the issue.

Note that this fix produces no change at all in the Makefile if configure is
run witout --enable-optimizations.

* !squash

(cherry picked from commit a1054c3b0037d4c2a5492e79fc193f36245366c7)

* [3.6] bpo-29243: Fix Makefile with respect to --enable-optimizations (GH-1478)

* bpo-29243: Fix Makefile with respect to --enable-optimizations

When using the Profile Guided Optimization (./configure --enable-optimizations)
Python is built not only during `make` but rebuilt again during `make test`,
`make install` and others. This patch fixes the issue.

Note that this fix produces no change at all in the Makefile if configure is
run witout --enable-optimizations.

* !squash.
(cherry picked from commit a1054c3b0037d4c2a5492e79fc193f36245366c7)
Makefile.pre.in
Misc/ACKS
Misc/NEWS