index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | extra/qt6-quick3dphysics/PKGBUILD | 8 |
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 + |