[issue17781] optimize compilation options

Antoine Pitrou report at bugs.python.org
Thu Aug 27 21:08:50 CEST 2015


Antoine Pitrou added the comment:

Note this patch is likely wrong, as it doesn't add the optimization options to the linker invocation. According to the gcc does, """To use the link-time optimizer, -flto and optimization options should be specified at compile time and during the final link""".

So probably $OPT should be added to $PY_LDFLAGS.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17781>
_______________________________________


More information about the Python-bugs-list mailing list