Upgrade Emscripten
This commit is contained in:
@@ -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)"]
|
||||||
|
|||||||
2
Makefile
2
Makefile
@@ -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
|
||||||
|
|||||||
11
build/libapi.mjs
generated
11
build/libapi.mjs
generated
File diff suppressed because one or more lines are too long
BIN
build/libapi.wasm
generated
BIN
build/libapi.wasm
generated
Binary file not shown.
Reference in New Issue
Block a user