cboard: fix build with ndk r23
This commit is contained in:
parent
ca9c18a353
commit
b83fdd6a52
@ -3,13 +3,13 @@ TERMUX_PKG_DESCRIPTION="PGN browser, editor and chess engine frontend"
|
|||||||
TERMUX_PKG_LICENSE="GPL-2.0"
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
||||||
TERMUX_PKG_MAINTAINER="@termux"
|
TERMUX_PKG_MAINTAINER="@termux"
|
||||||
TERMUX_PKG_VERSION=0.7.5
|
TERMUX_PKG_VERSION=0.7.5
|
||||||
TERMUX_PKG_REVISION=1
|
TERMUX_PKG_REVISION=2
|
||||||
TERMUX_PKG_SRCURL=http://downloads.sourceforge.net/project/c-board/${TERMUX_PKG_VERSION}/cboard-${TERMUX_PKG_VERSION}.tar.bz2
|
TERMUX_PKG_SRCURL=http://downloads.sourceforge.net/project/c-board/${TERMUX_PKG_VERSION}/cboard-${TERMUX_PKG_VERSION}.tar.bz2
|
||||||
TERMUX_PKG_SHA256=dd748039f3531653e1573577cd814741524e1b16e16e3a841ef512e5150da6a0
|
TERMUX_PKG_SHA256=dd748039f3531653e1573577cd814741524e1b16e16e3a841ef512e5150da6a0
|
||||||
TERMUX_PKG_DEPENDS="libandroid-support,libandroid-glob,gnuchess, ncurses, ncurses-ui-libs"
|
TERMUX_PKG_DEPENDS="libandroid-support,libandroid-glob,gnuchess, ncurses, ncurses-ui-libs"
|
||||||
|
|
||||||
termux_step_pre_configure() {
|
termux_step_pre_configure() {
|
||||||
CFLAGS+=" -DLINE_MAX=_POSIX2_LINE_MAX"
|
CFLAGS+=" -DLINE_MAX=_POSIX2_LINE_MAX -fcommon"
|
||||||
LDFLAGS+=" -landroid-glob"
|
LDFLAGS+=" -landroid-glob"
|
||||||
|
|
||||||
if $TERMUX_DEBUG_BUILD; then
|
if $TERMUX_DEBUG_BUILD; then
|
||||||
|
Loading…
Reference in New Issue
Block a user