Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/qt6-quick3dphysics/PKGBUILD
blob: 43327d95fae6321b7614591742fdf834982bfc36 (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