]> granicus.if.org Git - python/commitdiff
bpo-29766: Do not force --with-lto to true for --enable-optimizations (#1858)
authorHanno Schlichting <hanno@hannosch.eu>
Tue, 30 May 2017 02:07:07 +0000 (04:07 +0200)
committerGregory P. Smith <greg@krypto.org>
Tue, 30 May 2017 02:07:07 +0000 (19:07 -0700)
This fixes a faulty backport to the Python 2.7 branch only of http://bugs.python.org/issue28032. Details in the bpo-29766.

configure

index 6123e21109c78964fd943ef98bad97ac429d1e19..4c0435e98d249f81d083c814d71c0baabec44010 100755 (executable)
--- a/configure
+++ b/configure
@@ -6399,7 +6399,6 @@ if test "$Py_OPT" = 'true' ; then
   # compile working code using it and both test_distutils and test_gdb are
   # broken when you do managed to get a toolchain that works with it.  People
   # who want LTO need to use --with-lto themselves.
-  Py_LTO='true'
   DEF_MAKE_ALL_RULE="profile-opt"
   REQUIRE_PGO="yes"
   DEF_MAKE_RULE="build_all"