python: use only link-time optimization

Seems to be enough + no more issues during installation.
This commit is contained in:
Leonid Pliushch 2020-01-14 02:07:51 +02:00
parent 0c92ad97c0
commit 99ed7d351f

View File

@ -31,8 +31,6 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --enable-loadable-sqlite-extensions"
# Fix https://github.com/termux/termux-packages/issues/2236:
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" ac_cv_little_endian_double=yes"
# Enable optimizations:
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --enable-optimizations"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --with-computed-gotos"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --with-lto"
TERMUX_PKG_RM_AFTER_INSTALL="