apt: add -Wno-c++11-narrowing to CXXFLAGS

This commit is contained in:
Leonid Pliushch 2020-11-05 18:11:03 +02:00
parent 5a4dab1fde
commit e217e4cf04

View File

@ -58,6 +58,9 @@ termux_step_pre_configure() {
if [ "$TERMUX_PREFIX" = "/data/data/com.termux/files/usr" ]; then
patch -p1 -i $TERMUX_PKG_BUILDER_DIR/0011-verify-prefix.patch.txt
fi
# Fix i686 builds.
CXXFLAGS+=" -Wno-c++11-narrowing"
}
termux_step_post_make_install() {