summaryrefslogtreecommitdiff
path: root/extra/flac
diff options
context:
space:
mode:
Diffstat (limited to 'extra/flac')
-rw-r--r--extra/flac/PKGBUILD14
1 files changed, 8 insertions, 6 deletions
diff --git a/extra/flac/PKGBUILD b/extra/flac/PKGBUILD
index 76e5bdc2..c266c030 100644
--- a/extra/flac/PKGBUILD
+++ b/extra/flac/PKGBUILD
@@ -15,9 +15,11 @@ eval "$(
)"
# disable SSE on i686 and i486
-eval "$(
- declare -f build | \
- sed '
- s/cmake -S/cmake -DWITH_SSE=OFF -S/
- '
-)"
+if [ "$CARCH" = 'i686' -o "$CARCH" = 'i486' ]; then
+ eval "$(
+ declare -f build | \
+ sed '
+ s/cmake -S/cmake -DWITH_SSE=OFF -S/
+ '
+ )"
+fi