Upgrade Emscripten

This commit is contained in:
Ingvar Stepanyan
2024-12-05 14:55:04 +00:00
parent 0d17b35897
commit 9f261eda0c
4 changed files with 9 additions and 8 deletions

View File

@@ -1,4 +1,4 @@
FROM emscripten/emsdk:3.1.49 FROM emscripten/emsdk:3.1.73
RUN apt-get update && apt-get install -qqy autoconf autopoint pkg-config libtool libtool-bin RUN apt-get update && apt-get install -qqy autoconf autopoint pkg-config libtool libtool-bin
WORKDIR /src WORKDIR /src
CMD ["sh", "-c", "emmake make -j$(nproc)"] CMD ["sh", "-c", "emmake make -j$(nproc)"]

View File

@@ -5,8 +5,6 @@ export LDFLAGS += -L$(SYSROOT)/lib
# Common linking flags for all targets. # Common linking flags for all targets.
export LDFLAGS += -s DYNAMIC_EXECUTION=0 -s AUTO_JS_LIBRARIES=0 -s AUTO_NATIVE_LIBRARIES=0 export LDFLAGS += -s DYNAMIC_EXECUTION=0 -s AUTO_JS_LIBRARIES=0 -s AUTO_NATIVE_LIBRARIES=0
# Temporary workaround for https://github.com/emscripten-core/emscripten/issues/16836.
export LDFLAGS += -Wl,-u,ntohs
# Common compilation & linking flags for all langs and targets. # Common compilation & linking flags for all langs and targets.
COMMON_FLAGS = -Os -flto COMMON_FLAGS = -Os -flto

13
build/libapi.mjs generated

File diff suppressed because one or more lines are too long

BIN
build/libapi.wasm generated

Binary file not shown.