summaryrefslogtreecommitdiffstats
path: root/mkspecs/wasm-emscripten/qmake.conf
diff options
context:
space:
mode:
authorLorn Potter <lorn.potter@gmail.com>2019-12-03 10:21:20 +1000
committerLorn Potter <lorn.potter@gmail.com>2019-12-10 09:57:21 +1000
commit73fada6d706a646d6e6b9c6509276e8700094df1 (patch)
tree17d52b76fd708e57dfec9f9523a920c0f1cf8d5f /mkspecs/wasm-emscripten/qmake.conf
parentc3bd5ffdc8a3b459f18ba6e35fca93e29f3b0ab0 (diff)
wasm: Fix clamp mode
Clamp mode was being obliterated by not appending to EMCC_COMMON_LFLAGS This fixes crashes of integer overflow Change-Id: Icae757a7189de25db5ed41df6d41d86304c39830 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'mkspecs/wasm-emscripten/qmake.conf')
-rw-r--r--mkspecs/wasm-emscripten/qmake.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/wasm-emscripten/qmake.conf b/mkspecs/wasm-emscripten/qmake.conf
index 992803e055..cde6dac42b 100644
--- a/mkspecs/wasm-emscripten/qmake.conf
+++ b/mkspecs/wasm-emscripten/qmake.conf
@@ -25,7 +25,7 @@ EMTERP_FLAGS = \
-s ASSERTIONS=1 \
--profiling-funcs
-EMCC_COMMON_LFLAGS = \
+EMCC_COMMON_LFLAGS += \
-s WASM=1 \
-s FULL_ES2=1 \
-s USE_WEBGL2=1 \