diff --git a/qb/config.libs.sh b/qb/config.libs.sh index 4e449c0455..484f589052 100644 --- a/qb/config.libs.sh +++ b/qb/config.libs.sh @@ -39,6 +39,11 @@ if [ "$HAVE_NEON" = "yes" ]; then ASFLAGS="$ASFLAGS -mfpu=neon -mfloat-abi=hard" fi +if [ "$HAVE_SSE" = "yes" ]; then + CFLAGS="$CFLAGS -msse -msse2" + CXXFLAGS="$CXXFLAGS -msse -msse2" +fi + if [ "$HAVE_EGL" != "no" ]; then check_pkgconf EGL egl # some systems have EGL libs, but no pkgconfig diff --git a/qb/config.params.sh b/qb/config.params.sh index aae6eaf650..3ac1576b84 100644 --- a/qb/config.params.sh +++ b/qb/config.params.sh @@ -31,4 +31,5 @@ HAVE_XVIDEO=auto # Enable XVideo support HAVE_SDL_IMAGE=auto # Enable SDL_image support HAVE_PYTHON=auto # Enable Python 3 support for shaders HAVE_BSV_MOVIE=yes # Disable BSV movie support -HAVE_NEON=no # Enable ARM NEON optimizations (hardfloat) +HAVE_NEON=no # Forcefully enable ARM NEON optimizations (hardfloat) +HAVE_SSE=no # Forcefully enable x86 SSE optimizations (SSE, SSE2)