From e67f59756736c72f5da007fcd0a5e1f33389302a Mon Sep 17 00:00:00 2001 From: Andreas Grapentin Date: Sun, 10 Feb 2019 00:45:44 +0100 Subject: pcr/libxtrxdsp: fixing build for armv7h --- pcr/libxtrxdsp/PKGBUILD | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pcr/libxtrxdsp/PKGBUILD b/pcr/libxtrxdsp/PKGBUILD index 7a977e067..26a8208c9 100644 --- a/pcr/libxtrxdsp/PKGBUILD +++ b/pcr/libxtrxdsp/PKGBUILD @@ -22,9 +22,14 @@ build() { mkdir -p build cd build - cmake \ - -DFORCE_ARCH=x86 \ - ../ + if [ "$CARCH" = 'x86_64' ] || [ "$CARCH" = 'i686' ]; then + cmake \ + -DFORCE_ARCH=x86 \ + ../ + else + cmake \ + ../ + fi make } -- cgit v1.2.3