From 56abcf1acd1eef8e0db3d4179d62f1abc7c93b37 Mon Sep 17 00:00:00 2001 From: Tasos Sahanidis Date: Sat, 31 Aug 2024 07:09:00 +0300 Subject: extra/qt6-quick3dphysics: Don't require SSE2 --- extra/qt6-quick3dphysics/PKGBUILD | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 extra/qt6-quick3dphysics/PKGBUILD (limited to 'extra') 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 + -- cgit v1.2.3-70-g09d2