summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-06-24 15:30:46 (GMT)
committerGitHub <noreply@github.com>2022-06-24 15:30:46 (GMT)
commitc966e0816ed1efffcf91a415629409be16eb8af9 (patch)
tree3de59e7178ac7428ddf82478d357f2bb04c37111 /configure.ac
parent41e4b426ce8d8298c3f2360cb506d229381e0f84 (diff)
downloadcpython-c966e0816ed1efffcf91a415629409be16eb8af9.zip
cpython-c966e0816ed1efffcf91a415629409be16eb8af9.tar.gz
cpython-c966e0816ed1efffcf91a415629409be16eb8af9.tar.bz2
gh-84461: Build Emscripten with WASM BigInt support (GH-94219)
(cherry picked from commit e69306f08b9be84ccdd0a1c6601ec229c4e5b377) Co-authored-by: Christian Heimes <christian@python.org>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index a8b2326..cbeb8b9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2028,6 +2028,9 @@ AS_CASE([$ac_sys_system],
dnl Start with 20 MB and allow to grow
AS_VAR_APPEND([LDFLAGS_NODIST], [" -sALLOW_MEMORY_GROWTH -sTOTAL_MEMORY=20971520"])
+ dnl map int64_t and uint64_t to JS bigint
+ AS_VAR_APPEND([LDFLAGS_NODIST], [" -sWASM_BIGINT"])
+
dnl Include file system support
AS_VAR_APPEND([LDFLAGS_NODIST], [" -sFORCE_FILESYSTEM -lidbfs.js -lnodefs.js -lproxyfs.js -lworkerfs.js"])