Add LTO for C++ builds (#755)

* Add LTO for C++ builds

This didn't have much effect on fastcomp builds, but provides further size savings with new LLVM backend we switched to in #750 (and fixes the MozJPEG size regression from the same PR).

In the future we won't need to pass `--llvm-lto 1` explicitly, but latest Emscripten Docker image doesn't contain the Emscripten version with the necessary fixes for this.

* Delete build.log

Co-authored-by: Jake Archibald <jaffathecake@gmail.com>
This commit is contained in:
Ingvar Stepanyan
2020-05-05 11:54:28 +01:00
committed by GitHub
parent 83d9d2c764
commit d3252bb1bb
12 changed files with 184 additions and 186 deletions

Binary file not shown.