fluxbox: add '-Wno-c++11-narrowing' to CXXFLAGS

Fixes build failure on at least ARM.
This commit is contained in:
Leonid Pliushch 2018-09-23 00:57:07 +03:00 committed by Yaksh Bariya
parent e3c4379f22
commit fad66aecc5
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
1 changed files with 5 additions and 2 deletions

View File

@ -7,12 +7,15 @@ TERMUX_PKG_REVISION=4
TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/sourceforge/fluxbox/fluxbox-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=fc8c75fe94c54ed5a5dd3fd4a752109f8949d6df67a48e5b11a261403c382ec0
TERMUX_PKG_DEPENDS="feh, fribidi, imlib2, libandroid-support, libc++, libxft, libxinerama, libxpm, libxrandr, xorg-xmessage"
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--enable-imlib2
--enable-xft
--enable-xinerama
CFLAGS=-I${TERMUX_PREFIX}/include/libandroid-support
"
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_pre_configure() {
export CFLAGS="${CFLAGS} -I${TERMUX_PREFIX}/include/libandroid-support"
export CXXFLAGS="${CXXFLAGS} -Wno-c++11-narrowing"
}