From 72f7c01c2260bfcfa93f6f9ea4c980353f425aac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Mon, 5 Sep 2022 15:37:33 +0200 Subject: [PATCH] HTML5: Fix warning with Emscripten 3.1.20 And use that version for CI. --- .github/workflows/javascript_builds.yml | 2 +- platform/javascript/detect.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/javascript_builds.yml b/.github/workflows/javascript_builds.yml index 3785632ec..3ff96766a 100644 --- a/.github/workflows/javascript_builds.yml +++ b/.github/workflows/javascript_builds.yml @@ -5,7 +5,7 @@ on: [push, pull_request] env: PANDEMONIUM_BASE_BRANCH: master SCONSFLAGS: verbose=yes warnings=all debug_symbols=no werror=yes - EM_VERSION: 3.1.10 + EM_VERSION: 3.1.20 EM_CACHE_FOLDER: "emsdk-cache" concurrency: diff --git a/platform/javascript/detect.py b/platform/javascript/detect.py index d82f7e2b9..5189f5af9 100644 --- a/platform/javascript/detect.py +++ b/platform/javascript/detect.py @@ -151,9 +151,9 @@ def configure(env): env["ARCOM_POSIX"] = env["ARCOM"].replace("$TARGET", "$TARGET.posix").replace("$SOURCES", "$SOURCES.posix") env["ARCOM"] = "${TEMPFILE(ARCOM_POSIX)}" - # All intermediate files are just LLVM bitcode. + # All intermediate files are just object files. env["OBJPREFIX"] = "" - env["OBJSUFFIX"] = ".bc" + env["OBJSUFFIX"] = ".o" env["PROGPREFIX"] = "" # Program() output consists of multiple files, so specify suffixes manually at builder. env["PROGSUFFIX"] = ""