[Python-checkins] [python/cpython] a473a7: [2.7] bpo-29243: Fix Makefile with respect to --en...

GitHub noreply at github.com
Tue May 9 12:04:32 EDT 2017


  Branch: refs/heads/2.7
  Home:   https://github.com/python/cpython
  Commit: a473a73d0cb42c534a3047bbf781b3c592fc33ca
      https://github.com/python/cpython/commit/a473a73d0cb42c534a3047bbf781b3c592fc33ca
  Author: torsava <torsava at redhat.com>
  Date:   2017-05-09 (Tue, 09 May 2017)

  Changed paths:
    M Makefile.pre.in
    M Misc/ACKS
    M Misc/NEWS

  Log Message:
  -----------
  [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)




More information about the Python-checkins mailing list