summaryrefslogtreecommitdiffstats
path: root/mkspecs/wasm-emscripten
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@qt.io>2018-10-19 19:24:34 +0200
committerOswald Buddenhagen <oswald.buddenhagen@qt.io>2018-11-21 23:07:57 +0000
commiteea08d376ac5cb35ff03be630923f21f7fa3aecd (patch)
tree8bef663609a3c91a1c53910f95e7056c90908592 /mkspecs/wasm-emscripten
parentac4dd6e8f6a03bc65cdcfe3749ba2096d5a72727 (diff)
wasm: remove seemingly pointless -s flags
these libraries are handled by the configure system. i presume this to be an artifact of an early version. Change-Id: Ieee0554163a9fe296097d09e60a70719beee97b4 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
Diffstat (limited to 'mkspecs/wasm-emscripten')
-rw-r--r--mkspecs/wasm-emscripten/qmake.conf8
1 files changed, 0 insertions, 8 deletions
diff --git a/mkspecs/wasm-emscripten/qmake.conf b/mkspecs/wasm-emscripten/qmake.conf
index 0b72fcf0a8..e8ad5e18e7 100644
--- a/mkspecs/wasm-emscripten/qmake.conf
+++ b/mkspecs/wasm-emscripten/qmake.conf
@@ -12,11 +12,6 @@ EMTERP_FLAGS = \
-s ASSERTIONS=1 \
--profiling-funcs
-EMCC_COMMON_CFLAGS = \
- -s USE_LIBPNG=1 \
- -s USE_FREETYPE=1 \
- -s USE_ZLIB=1
-
EMCC_COMMON_LFLAGS = \
-s WASM=1 \
-s FULL_ES2=1 \
@@ -45,9 +40,6 @@ QMAKE_COMPILER += emscripten
QMAKE_CC = emcc
QMAKE_CXX = em++
-QMAKE_CFLAGS += $$EMCC_COMMON_CFLAGS
-QMAKE_CXXFLAGS += $$EMCC_COMMON_CFLAGS
-
# Practical debugging setup:
# "-g4" preserves function names for stack traces
# "-Os" produces reasonably sized binaries