texlive-bin: avoid Oz to fix #1765

This commit is contained in:
Henrik Grimler 2017-11-12 12:45:08 +01:00 committed by Fredrik Fornwall
parent 76f2c90bf4
commit fac86f957b

View File

@ -125,6 +125,8 @@ opt/texlive/${TERMUX_PKG_VERSION:0:4}/texmf-dist/scripts/checkcites/checkcites.l
termux_step_pre_configure() {
# When building against libicu 59.1 or later we need c++11:
CXXFLAGS+=" -std=c++11"
# Oz flag causes problems. See https://github.com/termux/termux-packages/issues/1765:
CFLAGS=${CFLAGS/Oz/O3}
}
termux_step_post_make_install () {