summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Snopek <dsnopek@gmail.com>2024-08-26 10:34:55 -0500
committerGitHub <noreply@github.com>2024-08-26 10:34:55 -0500
commitfd8f196008301ce83dae6061eaa0d4b365b0c4d2 (patch)
treeb40e1c29423e2f914a3bb32d52c1af1f0fceb565
parent16bc0a0fff229772cac582b5967116850f998b41 (diff)
parentf36acd8e312c916c7e53364e1b0bd8eec3e4410e (diff)
downloadredot-cpp-fd8f196008301ce83dae6061eaa0d4b365b0c4d2.tar.gz
Merge pull request #1560 from Faless/fix/build_web_cppflags_is_ccflags
[Web/SCons] Use CCFLAGS for SIDE_MODULE option
-rw-r--r--tools/web.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/web.py b/tools/web.py
index dea42b2..c8f07c5 100644
--- a/tools/web.py
+++ b/tools/web.py
@@ -39,7 +39,7 @@ def generate(env):
env.Append(LINKFLAGS=["-sUSE_PTHREADS=1"])
# Build as side module (shared library).
- env.Append(CPPFLAGS=["-sSIDE_MODULE=1"])
+ env.Append(CCFLAGS=["-sSIDE_MODULE=1"])
env.Append(LINKFLAGS=["-sSIDE_MODULE=1"])
# Force wasm longjmp mode.