summaryrefslogtreecommitdiff
path: root/pcr/libxtrxdsp
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2019-02-10 00:45:44 +0100
committerAndreas Grapentin <andreas@grapentin.org>2019-02-10 00:45:44 +0100
commite67f59756736c72f5da007fcd0a5e1f33389302a (patch)
tree35fd69990e8f1c31c2593d8e82d8c93010a88155 /pcr/libxtrxdsp
parent083a82b6f7d03ac6767316c8623c10f08bd7c69c (diff)
pcr/libxtrxdsp: fixing build for armv7h
Diffstat (limited to 'pcr/libxtrxdsp')
-rw-r--r--pcr/libxtrxdsp/PKGBUILD11
1 files 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
}