git checkout wine-11.0
git apply ../patches/fixSetupApiFromCrashingDuringDllDetach.patch
git apply ../patches/FAudio_opentdd_mac_crash.patch
./configure LDFLAGS="-s" CFLAGS="-O2 -msse2 -march=pentium4 -mfpmath=sse $EXTRA" --without-cups --without-pulse --without-dbus --without-sane --without-hal --without-udev --without-usb --without-xshape --without-xshm --without-ldap --without-alsa --prefix=/opt/wine --disable-tests $EXTRA_ARGS
make 
