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
|
||||
WORKDIR /src
|
||||
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.
|
||||
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_FLAGS = -Os -flto
|
||||
|
||||
13
build/libapi.mjs
generated
13
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