summaryrefslogtreecommitdiffstats
path: root/mkspecs/wasm-emscripten/qmake.conf
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@qt.io>2018-10-19 19:23:59 +0200
committerOswald Buddenhagen <oswald.buddenhagen@qt.io>2018-11-21 23:07:52 +0000
commitac4dd6e8f6a03bc65cdcfe3749ba2096d5a72727 (patch)
treefb8476ae5e56b457a3292599260e69917baf62e3 /mkspecs/wasm-emscripten/qmake.conf
parent4e6a3c7def9b634ccb79a5ba3010d8df0d6fdae3 (diff)
wasm: fix location and language of comment
Change-Id: I7c9c65d037f808371a778e51d0877ed579ae8b26 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
Diffstat (limited to 'mkspecs/wasm-emscripten/qmake.conf')
-rw-r--r--mkspecs/wasm-emscripten/qmake.conf5
1 files changed, 2 insertions, 3 deletions
diff --git a/mkspecs/wasm-emscripten/qmake.conf b/mkspecs/wasm-emscripten/qmake.conf
index c3b67310c8..0b72fcf0a8 100644
--- a/mkspecs/wasm-emscripten/qmake.conf
+++ b/mkspecs/wasm-emscripten/qmake.conf
@@ -28,6 +28,8 @@ EMCC_COMMON_LFLAGS = \
-s \"BINARYEN_METHOD=\'native-wasm\'\" \
-s \"BINARYEN_TRAP_MODE=\'clamp\'\"
+# The -s arguments can also be used with release builds,
+# but are here in debug for clarity.
EMCC_COMMON_LFLAGS_DEBUG = \
$$EMCC_COMMON_LFLAGS \
-s ASSERTIONS=2 \
@@ -38,9 +40,6 @@ EMCC_COMMON_LFLAGS_DEBUG = \
# -s SOCKET_DEBUG \ #print out socket,network data transfer
-s GL_DEBUG=1
-# the -s arguments can also be used with release builds
-# but here in debug for clarity
-
QMAKE_COMPILER += emscripten
QMAKE_CC = emcc