wasm: remove sse2 config block

This breaks the build for qmake-based applications,
with the error

  Project ERROR: Could not find feature sse2.

Remove the offending section to make applications
build again.

Pick-to: 6.2
Change-Id: I0b22faa1d8d62e208d79879b822e21637bb03a3e
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Morten Johan Sørvig 2021-10-26 15:58:39 +02:00
parent aa6405ee03
commit 2c3cfa0ae7

View File

@ -37,13 +37,6 @@ exists($$QMAKE_QT_CONFIG) {
EMCC_THREAD_LFLAGS += -s INITIAL_MEMORY=$$INITIAL_MEMORY
}
qtConfig(sse2) {
QMAKE_CFLAGS += -O2 -msimd128 -msse -msse2
QMAKE_CXXFLAGS += -O2 -msimd128 -msse -msse2
QMAKE_LFLAGS += -msimd128 -msse -msse2
QMAKE_LFLAGS_DEBUG += -msimd128 -msse -msse2
}
QMAKE_LFLAGS += $$EMCC_THREAD_LFLAGS
QMAKE_LFLAGS_DEBUG += $$EMCC_THREAD_LFLAGS
QMAKE_CFLAGS += $$EMCC_THREAD_LFLAGS