From: Hanno Schlichting Date: Tue, 30 May 2017 02:07:07 +0000 (+0200) Subject: bpo-29766: Do not force --with-lto to true for --enable-optimizations (#1858) X-Git-Tag: v2.7.14rc1~125 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1f29cefc87c4c2ee629367ebe97a287d8e0b3e29;p=python bpo-29766: Do not force --with-lto to true for --enable-optimizations (#1858) This fixes a faulty backport to the Python 2.7 branch only of http://bugs.python.org/issue28032. Details in the bpo-29766. --- diff --git a/configure b/configure index 6123e21109..4c0435e98d 100755 --- 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"