summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/archdetect.cpp
diff options
context:
space:
mode:
authorLorn Potter <lorn.potter@gmail.com>2022-08-24 10:47:25 +1000
committerLorn Potter <lorn.potter@gmail.com>2022-12-07 08:30:46 +1000
commit924eec1daa5ed62d47e98538766a12f4762632bc (patch)
treef6ada4124a93fbb482acfc77835d89815ba24e34 /src/corelib/global/archdetect.cpp
parent310aecc94af0741fbe83d3d64b9aca719e3b0732 (diff)
wasm: add support for wasm64 build
This adds a new platform named wasm-emscripten-64 which sets the build and link argument -MEMORY64 You may see this warning, please ignore at your own discretion: em++: warning: -sMEMORY64 is still experimental. Many features may not work. [-Wexperimental] Fixes: QTBUG-104891 Change-Id: I8d3150d239ba72dbef5c2352e0171d6cfbe51b59 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'src/corelib/global/archdetect.cpp')
-rw-r--r--src/corelib/global/archdetect.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/global/archdetect.cpp b/src/corelib/global/archdetect.cpp
index 0c08393ab9..6a1e110a73 100644
--- a/src/corelib/global/archdetect.cpp
+++ b/src/corelib/global/archdetect.cpp
@@ -15,6 +15,8 @@
# define ARCH_PROCESSOR "avr32"
#elif defined(Q_PROCESSOR_BLACKFIN)
# define ARCH_PROCESSOR "bfin"
+#elif defined(Q_PROCESSOR_WASM_64)
+# define ARCH_PROCESSOR "wasm64"
#elif defined(Q_PROCESSOR_WASM)
# define ARCH_PROCESSOR "wasm"
#elif defined(Q_PROCESSOR_HPPA)