Skip to content

Commit

Permalink
wasm: remove sse2 config block
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Morten Johan Sørvig committed Oct 27, 2021
1 parent aa6405e commit 2c3cfa0
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions mkspecs/features/wasm/wasm.prf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2c3cfa0

Please sign in to comment.