Browse Source

python: use only link-time optimization

Seems to be enough + no more issues during installation.
build-on-device
Leonid Plyushch 5 years ago
parent
commit
d0c3ef54f2
No known key found for this signature in database GPG Key ID: 45F2964132545795
  1. 2
      packages/python/build.sh

2
packages/python/build.sh

@ -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="

Loading…
Cancel
Save