]> granicus.if.org Git - python/commit
[2.7] bpo-29243: Fix Makefile with respect to --enable-optimizations (GH-1478) (...
authortorsava <torsava@redhat.com>
Tue, 9 May 2017 16:04:29 +0000 (18:04 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 9 May 2017 16:04:29 +0000 (18:04 +0200)
commita473a73d0cb42c534a3047bbf781b3c592fc33ca
tree477b36f27b3ea4d8d8d8571cebcc5381b7dfcf3d
parent453a6857023a0a2c714772cda8717ecf03de64f5
[2.7] bpo-29243: Fix Makefile with respect to --enable-optimizations (GH-1478) (#1522)

* 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