mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
testing/android-tools: build on arm
Built on aarch64 and armv7 by mps@IRC, runtime tested on armhf by myself
This commit is contained in:
parent
f719544534
commit
67283cdbf6
@ -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 \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user