Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorTasos Sahanidis <tasos@tasossah.com>2024-07-10 08:48:11 +0300
committerTasos Sahanidis <tasos@tasossah.com>2024-07-10 08:48:11 +0300
commit8ca08e387c50f71519149de4cc9d18648a06b439 (patch)
treee8b17bb55f7ab0949bbd8d53fcc935b67dfe5be6 /extra
parent8c258d7870490cb47c774a6f47e486ff53834852 (diff)
extra/webrtc-audio-processing-1: Enable SSE for i686
Diffstat (limited to 'extra')
-rw-r--r--extra/webrtc-audio-processing-1/PKGBUILD10
1 files changed, 10 insertions, 0 deletions
diff --git a/extra/webrtc-audio-processing-1/PKGBUILD b/extra/webrtc-audio-processing-1/PKGBUILD
new file mode 100644
index 00000000..9be7d41f
--- /dev/null
+++ b/extra/webrtc-audio-processing-1/PKGBUILD
@@ -0,0 +1,10 @@
+# This requires SSE, so enable it on i686
+
+if [ "$CARCH" = "i686" ]; then
+ eval "$(
+ declare -f build | \
+ sed '
+ 3 i export CXXFLAGS="$CXXFLAGS -msse" CFLAGS="$CFLAGS -msse"
+ '
+ )"
+fi