commit | 497365778ea8a0e6b3b8ce31eae2f51f4669b633 | [log] [tgz] |
---|---|---|
author | Shachar Langbeheim <nihohit@gmail.com> | Tue Sep 24 08:38:12 2019 +0300 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Tue Sep 24 20:19:02 2019 +0000 |
tree | 32ca6f2a87819a9a2ff5f8047683e91ab992305f | |
parent | b5037ca88923d5e2caa3dedda58a354dba3c951c [diff] |
Compile CanvasKit without -fPIC, for latest emscripten compatibility. Due to an issue in emscripten's latest-upstream compiler (link below), Skia's libraries can't be built using -fPIC. This change allows users to opt-out of using -fPIC during compilation, and sets compile.sh to opt-out accordingly. https://github.com/emscripten-core/emscripten/issues/8995 https://github.com/emscripten-core/emscripten/issues/9317 Change-Id: I25b6e185b58ab1ba8263f2e2f450591f6025f62c Reviewed-on: https://skia-review.googlesource.com/c/skia/+/243317 Reviewed-by: Mike Klein <mtklein@google.com> Commit-Queue: Mike Klein <mtklein@google.com>