wasm: remove obsolete config
On emsdk 13.9.x WASM_OBJECTS_FILES is always on, and BINARYEN_TRAP_MODE is not needed Change-Id: Id1da1db0278e131f95045bc0902f5cc4c22c1522 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
This commit is contained in:
parent
4aee10b9da
commit
f7722394f4
@ -8,20 +8,6 @@ include(../common/clang.conf)
|
||||
load(device_config)
|
||||
load(emcc_ver)
|
||||
|
||||
# Support setting WASM_OBJECT_FILES with -device-option WASM_OBJECT_FILES=1
|
||||
!isEmpty(WASM_OBJECT_FILES): {
|
||||
!equals(WASM_OBJECT_FILES, 1):!equals(WASM_OBJECT_FILES, 0): \
|
||||
message(Error: The value for WASM_OBJECT_FILES must be 0 or 1)
|
||||
QMAKE_CFLAGS += -s WASM_OBJECT_FILES=$$WASM_OBJECT_FILES
|
||||
QMAKE_CXXFLAGS += -s WASM_OBJECT_FILES=$$WASM_OBJECT_FILES
|
||||
QMAKE_LFLAGS += -s WASM_OBJECT_FILES=$$WASM_OBJECT_FILES
|
||||
} else {
|
||||
EMSCRIPTEN_VERSION=$$qtSystemEmccVersion()
|
||||
lessThan(EMSCRIPTEN_VERSION, 1.39) {
|
||||
EMCC_COMMON_LFLAGS += -s \"BINARYEN_TRAP_MODE=\'clamp\'\"
|
||||
}
|
||||
}
|
||||
|
||||
EMTERP_FLAGS = \
|
||||
-s EMTERPRETIFY=1 \
|
||||
-s EMTERPRETIFY_ASYNC=1 \
|
||||
|
Loading…
Reference in New Issue
Block a user