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-08-31 07:09:00 +0300
committerTasos Sahanidis <tasos@tasossah.com>2024-08-31 07:09:00 +0300
commit56abcf1acd1eef8e0db3d4179d62f1abc7c93b37 (patch)
tree55f04c552fcd25a7b4fb8007a837aa39c6d2e969 /extra
parent00b9128c7309e42386280d6efed8bd2cf259fad2 (diff)
extra/qt6-quick3dphysics: Don't require SSE2
Diffstat (limited to 'extra')
-rw-r--r--extra/qt6-quick3dphysics/PKGBUILD8
1 files changed, 8 insertions, 0 deletions
diff --git a/extra/qt6-quick3dphysics/PKGBUILD b/extra/qt6-quick3dphysics/PKGBUILD
new file mode 100644
index 00000000..43327d95
--- /dev/null
+++ b/extra/qt6-quick3dphysics/PKGBUILD
@@ -0,0 +1,8 @@
+if [[ $$CARCH == 'i686' ]]; then
+ eval "$(declare -f build | sed '3iexport CFLAGS="$CFLAGS -msse -DPX_SIMD_DISABLED=1"; export CXXFLAGS="$CXXFLAGS -msse -DPX_SIMD_DISABLED=1";')"
+fi
+
+if [[ $$CARCH == 'i486' ]]; then
+ eval "$(declare -f build | sed '3iexport CFLAGS="$CFLAGS -DPX_SIMD_DISABLED=1"; export CXXFLAGS="$CXXFLAGS -DPX_SIMD_DISABLED=1";')"
+fi
+