summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}