forked from OpenTTD/OpenTTD
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change: [Emscripten] update to 2.0.34 and use Release over RelWithDeb…
…Info (OpenTTD#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.
- Loading branch information
Showing
3 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters