fossil: specify CPPFLAGS

This commit is contained in:
Leonid Pliushch 2019-04-14 22:18:55 +03:00
parent 0a986d1138
commit 8090dbac3e

View File

@ -11,7 +11,7 @@ TERMUX_PKG_DEPENDS="libsqlite, openssl, zlib"
termux_step_pre_configure() {
# Avoid mixup of flags between cross compilation
# and native build.
CC="$CC $CFLAGS $LDFLAGS"
CC="$CC $CPPFLAGS $CFLAGS $LDFLAGS"
unset CFLAGS LDFLAGS
}