Browse Source

git-delta: blacklist ARM and i686 builds

Cross-compilation fails with 'cargo:warning=error: unknown target CPU'.
master
Leonid Plyushch 5 years ago
parent
commit
457801b38c
No known key found for this signature in database GPG Key ID: 45F2964132545795
  1. 3
      packages/git-delta/build.sh

3
packages/git-delta/build.sh

@ -6,6 +6,9 @@ TERMUX_PKG_SRCURL=https://github.com/dandavison/delta/archive/${TERMUX_PKG_VERSI
TERMUX_PKG_SHA256=631349484bb52f3bb1c22385e19d98903c094212e83fe109f97aeff0281cf00e
TERMUX_PKG_DEPENDS="git"
TERMUX_PKG_BUILD_IN_SRC=true
# Build fails on these arches when cross-compiling with error
# cargo:warning=error: unknown target CPU
TERMUX_PKG_BLACKLISTED_ARCHES="arm, i686"
termux_step_pre_configure() {
rm -f Makefile

Loading…
Cancel
Save