Merge pull request #1560 from Faless/fix/build_web_cppflags_is_ccflags

[Web/SCons] Use CCFLAGS for SIDE_MODULE option
pull/1568/head
David Snopek 2024-08-26 10:34:55 -05:00 committed by GitHub
commit fd8f196008
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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.