cboard: TERMUX_DEBUG->TERMUX_DEBUG_BUILD

The variable was renamed in termux-packages earlier.
This commit is contained in:
Henrik Grimler 2021-11-27 09:29:03 +01:00
parent 2b3f8572b6
commit ca9c18a353
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ termux_step_pre_configure() {
CFLAGS+=" -DLINE_MAX=_POSIX2_LINE_MAX"
LDFLAGS+=" -landroid-glob"
if $TERMUX_DEBUG; then
if $TERMUX_DEBUG_BUILD; then
# When doing debug build, -D_FORTIFY_SOURCE=2 gives this error:
# /home/builder/.termux-build/cboard/src/libchess/pgn.c:2235:33: error: 'umask' called with invalid mode
# mode = umask(600);