Skip to content

Commit fd8f196

Browse files
authored
Merge pull request godotengine#1560 from Faless/fix/build_web_cppflags_is_ccflags
[Web/SCons] Use CCFLAGS for SIDE_MODULE option
2 parents 16bc0a0 + f36acd8 commit fd8f196

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/web.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def generate(env):
3939
env.Append(LINKFLAGS=["-sUSE_PTHREADS=1"])
4040

4141
# Build as side module (shared library).
42-
env.Append(CPPFLAGS=["-sSIDE_MODULE=1"])
42+
env.Append(CCFLAGS=["-sSIDE_MODULE=1"])
4343
env.Append(LINKFLAGS=["-sSIDE_MODULE=1"])
4444

4545
# Force wasm longjmp mode.

0 commit comments

Comments
 (0)