fix(scripts/build): ninja: unknown warning flag 'dupbuild=warn'
ninja has removed the flag `-w dupbuild=warn` since 8f47d5aa33
.
This commit is contained in:
parent
80e50f61cc
commit
d07e7a2106
|
@ -7,7 +7,7 @@ termux_step_make() {
|
|||
fi
|
||||
|
||||
if test -f build.ninja; then
|
||||
ninja -w dupbuild=warn -j $TERMUX_MAKE_PROCESSES
|
||||
ninja -j $TERMUX_MAKE_PROCESSES
|
||||
elif ls ./*.cabal &>/dev/null; then
|
||||
cabal build
|
||||
elif ls ./*akefile &>/dev/null || [ ! -z "$TERMUX_PKG_EXTRA_MAKE_ARGS" ]; then
|
||||
|
|
|
@ -3,7 +3,7 @@ termux_step_make_install() {
|
|||
[ "$TERMUX_PKG_METAPACKAGE" = "true" ] && return
|
||||
|
||||
if test -f build.ninja; then
|
||||
ninja -w dupbuild=warn -j $TERMUX_MAKE_PROCESSES install
|
||||
ninja -j $TERMUX_MAKE_PROCESSES install
|
||||
elif test -f setup.py || test -f pyproject.toml || test -f setup.cfg; then
|
||||
pip install --no-deps . --prefix $TERMUX_PREFIX
|
||||
elif ls ./*.cabal &>/dev/null; then
|
||||
|
|
Loading…
Reference in New Issue