aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Daudt <kdaudt@alpinelinux.org>2021-02-28 14:18:57 +0000
committerKevin Daudt <kdaudt@alpinelinux.org>2021-02-28 14:23:09 +0000
commit0b6fd574f517628078c1cd425ea68a5a2a02e7a3 (patch)
tree9099659b625c2fd792a227504ed56c0ff01b38d2
parenta82dff4377e97f164deab4be99b2ac6b819632d0 (diff)
downloadaports-0b6fd574f517628078c1cd425ea68a5a2a02e7a3.tar.gz
aports-0b6fd574f517628078c1cd425ea68a5a2a02e7a3.tar.bz2
aports-0b6fd574f517628078c1cd425ea68a5a2a02e7a3.tar.xz
testing/tpm2-pkcs11: fix build on all arches
The build system suggested to provide build, host _and_ target, but target was not provided. After poviding target, it builds on all arches.
-rw-r--r--testing/tpm2-pkcs11/APKBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/testing/tpm2-pkcs11/APKBUILD b/testing/tpm2-pkcs11/APKBUILD
index 2c6e8501ef..9351244e24 100644
--- a/testing/tpm2-pkcs11/APKBUILD
+++ b/testing/tpm2-pkcs11/APKBUILD
@@ -5,7 +5,7 @@ pkgver=1.5.0
pkgrel=0
pkgdesc="A PKCS#11 interface for TPM2 hardware"
url="https://github.com/tpm2-software/tpm2-pkcs11"
-arch="all !aarch64 !s390x !ppc64le" # Arches not recognized
+arch="all"
license="BSD-2-Clause"
depends="
bash
@@ -43,6 +43,7 @@ build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
+ --target="$CTARGET" \
--prefix=/usr \
make
cd tools && python3 setup.py build