diff options
-rw-r--r-- | testing/android-tools/APKBUILD | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/testing/android-tools/APKBUILD b/testing/android-tools/APKBUILD index 17536de255..9152b75786 100644 --- a/testing/android-tools/APKBUILD +++ b/testing/android-tools/APKBUILD @@ -3,10 +3,10 @@ pkgname=android-tools pkgver=9.0.0_p33 _realver=${pkgver/_p/_r} -pkgrel=0 +pkgrel=1 pkgdesc="Android platform tools" url="https://sites.google.com/a/android.com/tools/" -arch="x86 x86_64" +arch="x86 x86_64 aarch64 armv7 armhf" license="Apache-2.0 MIT" depends="" depends_dev="" @@ -18,6 +18,10 @@ builddir="$srcdir/$pkgname-$_realver" build() { cd "$builddir" + case "$CARCH" in + aarch64|arm*) CXXFLAGS="$CXXFLAGS -Wno-error=attributes";; + esac + mkdir build && cd build cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ |