diff options
author | Patric Stout <truebrain@openttd.org> | 2021-11-14 16:59:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-14 16:59:49 +0100 |
commit | 0cbe94256e4f600ceb397ddf8c0e3dca60676e5b (patch) | |
tree | c180d937da4d539cbc8783f43cdebf4b0dfbce9f /os/emscripten/Dockerfile | |
parent | 5f6303f985928d8fe2a9f75b80a32c9564b88fd6 (diff) | |
download | openttd-0cbe94256e4f600ceb397ddf8c0e3dca60676e5b.tar.xz |
Change: [Emscripten] update to 2.0.34 and use Release over RelWithDebInfo (#9696)
It turns out that having "-g" in the compile-statement causes
Emscripten to pick -g3, which makes for very big binaries. This
is very likely not your intention when building Emscripten, as
smaller really is better.
For comparison, with RelWithDebInfo the binary is ~80MB. With
Release it is ~7.4MB.
Diffstat (limited to 'os/emscripten/Dockerfile')
-rw-r--r-- | os/emscripten/Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/emscripten/Dockerfile b/os/emscripten/Dockerfile index cbbff38c1..5d54b5411 100644 --- a/os/emscripten/Dockerfile +++ b/os/emscripten/Dockerfile @@ -1,4 +1,4 @@ -FROM emscripten/emsdk:2.0.31 +FROM emscripten/emsdk:2.0.34 COPY emsdk-liblzma.patch / RUN cd /emsdk/upstream/emscripten && patch -p1 < /emsdk-liblzma.patch |