]> granicus.if.org Git - python/commit
[3.5] bpo-29243: Fix Makefile with respect to --enable-optimizations (GH-1478) (...
authortorsava <torsava@redhat.com>
Tue, 9 May 2017 15:12:35 +0000 (17:12 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 9 May 2017 15:12:35 +0000 (17:12 +0200)
commit8489409bbfabb2ddc30ed55c9f4d679a3710ebe4
tree9f5863c000d6bc7091128ce464e589cdb0df44ec
parentf5f7870d9322b46ab87c45b2c4c46f6b10ecbd70
[3.5] bpo-29243: Fix Makefile with respect to --enable-optimizations (GH-1478) (#1520)

* 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