godot/platform/javascript
Rémi Verschelde e9e2a4b044 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.
2019-11-15 09:39:19 +01:00
..
api Added some obvious errors explanations 2019-09-25 10:28:50 +02:00
export Implement HTTP server for HTML5 export 2019-10-23 10:59:03 +02:00
audio_driver_javascript.cpp Fix audio capture naming in Javascript 2019-08-09 23:22:30 +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-15 09:39:19 +01:00
dom_keys.inc Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
engine.js Fixed running the export templates with newer emscripten versions. 2019-10-01 15:41:19 +02:00
http_client_javascript.cpp Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in "platform", "modules/gdnative", "modules/gdscript" directories. 2019-08-09 11:13:24 +02:00
http_client.h.inc Add script to fix style issues and copyright headers 2019-06-17 13:35:47 +02: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
id_handler.js Move IDHandler JS module to platform from Websock 2019-04-12 12:41:49 +02: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 Optimize images losslessly using oxipng -o6 --strip all --zopfli 2019-10-12 23:23:33 +02:00
os_javascript.cpp Remove ECMAScript 6 "arrow operator". 2019-10-24 16:46:31 +02:00
os_javascript.h Fix cursor blinking in integrated GPUs 2019-07-09 19:38:25 -03: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 Optimize images losslessly using oxipng -o6 --strip all --zopfli 2018-06-28 19:17:41 +02:00
SCsub Move IDHandler JS module to platform from Websock 2019-04-12 12:41:49 +02:00