godot/platform/javascript
Rémi Verschelde bf204bdc7c 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 15:58:41 +01:00
..
api Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
export HTML5: Fix ETC export for GLES2 fallback on mobile 2019-03-11 16:49:33 +01:00
audio_driver_javascript.cpp Use stdout/-err for all messages in HTML5 platform 2019-02-24 04:56:34 +01:00
audio_driver_javascript.h Deal with Google's HTML5 autoplay policy 2019-01-20 14:25:15 +01:00
detect.py HTML5: Fix support for Emscripten 1.39.1+ 2019-11-29 15:58:41 +01:00
dom_keys.inc Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
engine.js Fix file preloading warning in HTML5 platform 2019-02-23 20:06:22 +01:00
http_client.h.inc Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
http_client_javascript.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
http_request.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
http_request.js Use stdout/-err for all messages in HTML5 platform 2019-02-24 04:56:34 +01:00
javascript_eval.cpp Use stdout/-err for all messages in HTML5 platform 2019-02-24 04:56:34 +01:00
javascript_main.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
logo.png
os_javascript.cpp Fix pointer position in hidpi-corrected resolutions on web 2019-11-12 13:09:35 +01:00
os_javascript.h Refactor OS_JavaScript header 2019-01-20 00:13:20 +01:00
platform_config.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
pre.js Add comments to javascript wrapper parts. 2018-10-15 08:56:44 -07:00
run_icon.png
SCsub Add responsive HTML5 export page with full-size canvas as new default 2018-08-23 21:28:09 +02:00