From e217e4cf0485fa90d105fe0f7ed3828709eff882 Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Thu, 5 Nov 2020 18:11:03 +0200 Subject: [PATCH] apt: add -Wno-c++11-narrowing to CXXFLAGS --- packages/apt/build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/apt/build.sh b/packages/apt/build.sh index 439914580..725bc1f9c 100644 --- a/packages/apt/build.sh +++ b/packages/apt/build.sh @@ -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() {