diff options
author | Lorn Potter <lorn.potter@gmail.com> | 2021-11-18 10:29:46 +1000 |
---|---|---|
committer | Lorn Potter <lorn.potter@gmail.com> | 2021-12-13 06:53:22 +0000 |
commit | 663c1b8827937562d714f85fa78b535896f726e7 (patch) | |
tree | f996d2eee4beb4c9c548ee6f1b7bf8a5a99ea236 /mkspecs | |
parent | 81a31beeb25eaf14d5c5f42fe26aa49d6ef29bf8 (diff) |
wasm: remove deprecated argument for source maps
-g4 was deprecated in Emscripten 2.0.17, and since we are well past
that version we can safely use -gsource-map instead.
Change-Id: I497155619d6320661f6be0e220b52fa7d6ca0b8e
Reviewed-by: David Skoland <david.skoland@qt.io>
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'mkspecs')
-rw-r--r-- | mkspecs/features/wasm/wasm.prf | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/mkspecs/features/wasm/wasm.prf b/mkspecs/features/wasm/wasm.prf index 2629e962c8..8c1da8749a 100644 --- a/mkspecs/features/wasm/wasm.prf +++ b/mkspecs/features/wasm/wasm.prf @@ -127,12 +127,7 @@ CONFIG(debug):!isEmpty(QT_WASM_SOURCE_MAP) { EMCC_VERSION = $$qtSystemEmccVersion() - greaterThan(EMCC_VERSION, 2.0.16) { - # emsdk 2.0.17 depreciates use of -g4 - QMAKE_LFLAGS += -gsource-map - } else { - QMAKE_LFLAGS += -g4 - } + QMAKE_LFLAGS += -gsource-map # Pass --source-map-base on the linker line. This informs the # browser where to find the source files when debugging. WASM_SOURCE_MAP_BASE = http://localhost:8000/ |