diff --git a/.github/workflows/javascript_builds.yml b/.github/workflows/javascript_builds.yml index e855a3261fe..d824c4af66f 100644 --- a/.github/workflows/javascript_builds.yml +++ b/.github/workflows/javascript_builds.yml @@ -7,7 +7,7 @@ env: # Only used for the cache key. Increment version to force clean build. GODOT_BASE_BRANCH: 3.x SCONSFLAGS: verbose=yes warnings=all werror=yes debug_symbols=no - EM_VERSION: 3.1.45 + EM_VERSION: 3.1.39 EM_CACHE_FOLDER: "emsdk-cache" concurrency: diff --git a/platform/javascript/detect.py b/platform/javascript/detect.py index 3dc8400b387..9d39b7fb2cf 100644 --- a/platform/javascript/detect.py +++ b/platform/javascript/detect.py @@ -176,7 +176,7 @@ def configure(env): env["LIBSUFFIXES"] = ["$LIBSUFFIX"] # Get version info for checks below. - cc_semver = tuple(get_compiler_version(env)) + cc_semver = tuple(get_compiler_version(env) or (3, 1, 39)) env.Prepend(CPPPATH=["#platform/javascript"]) env.Append(CPPDEFINES=["JAVASCRIPT_ENABLED", "UNIX_ENABLED"])