Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/qt6-quick3dphysics/PKGBUILD
blob: a145cef73d5ceac1fbcbda813b7b7713b92d2292 (plain)
1
2
3
4
5
6
7
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