godot/platform
Rémi Verschelde 995eddf714 HTML5: Fix support for Emscripten 1.39.1+
A change in upstream Emscripten 1.39.1+ made our buildsystem error
out where it was previously only issuing a warning:
```
[  5%] Linking Static Library ==> main/libmain.javascript.opt.bc
shared:WARNING: Assuming object file output in the absence of `-c`, based on output filename. Please add with `-c` or `-r` to avoid this warning
Ranlib Library         ==> main/libmain.javascript.opt.bc
/opt/emsdk/upstream/bin/llvm-ranlib: error: unable to load 'main/libmain.javascript.opt.bc': file too small to be an archive
```

As advised on emscripten-core/emscripten#9806, we should be using
`emar` here to create the static library and not `emcc`.
This was apparently done to workaround Emscripten issues in the past,
but evidently this is no longer necessary.

The rest of the `env` redefinitions should probably be re-assessed
against the current state of Emscripten.

Fixes #33374.

(cherry picked from commit e9e2a4b044)
2019-11-29 16:01:19 +01:00
..
android Android: Fix support for android_stl=no with NDK r20 2019-07-30 15:11:36 +02:00
bb10 Update copyright statements to 2019 2019-06-04 11:41:49 +02:00
haiku Update copyright statements to 2019 2019-06-04 11:41:49 +02:00
iphone Update copyright statements to 2019 2019-06-04 11:41:49 +02:00
javascript HTML5: Fix support for Emscripten 1.39.1+ 2019-11-29 16:01:19 +01:00
osx Fix non-HiDPI mode on HiDPI displays on macOS Catalina. 2019-10-25 16:31:02 +02:00
server Update copyright statements to 2019 2019-06-04 11:41:49 +02:00
windows HiDPI support on Windows.. yes this is all it took. 2019-06-06 11:58:56 -04:00
winrt Update copyright statements to 2019 2019-06-04 11:41:49 +02:00
x11 SCons: Default to builtin libpng/freetype on Linux (+ openssl) 2019-07-02 15:03:16 +02:00