Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/qt6-quick3dphysics/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/qt6-quick3dphysics/PKGBUILD')
-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..a145cef7
--- /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
+