diff options
| author | Ben Harris <bjh21@bjh21.me.uk> | 2023-04-06 09:58:21 +0100 |
|---|---|---|
| committer | Ben Harris <bjh21@bjh21.me.uk> | 2023-04-06 23:05:52 +0100 |
| commit | d505f08f671c2f0a3fdd0b7d733e4ce987aa4786 (patch) | |
| tree | 7fded9e6ea6501c4c9c1fa48e420ad2158c975e5 /pattern.c | |
| parent | b5f87e6175db229e3e84e054ce23a1194cc535e4 (diff) | |
| download | puzzles-d505f08f671c2f0a3fdd0b7d733e4ce987aa4786.zip puzzles-d505f08f671c2f0a3fdd0b7d733e4ce987aa4786.tar.gz puzzles-d505f08f671c2f0a3fdd0b7d733e4ce987aa4786.tar.bz2 puzzles-d505f08f671c2f0a3fdd0b7d733e4ce987aa4786.tar.xz | |
js: explicitly tell Emscripten which browsers to target
Emscripten has settings indicating which browser versions it should
build code for. These are now by default slightly newer than I'd been
targeting with my hand-written JavaScript. They also don't include
Firefox 48, which KaiOS 2.5 is based on.
This commit adds CMake variables to set the minimum versions that we
pass to Emscripten. They default to the earliest versions with
WebAssembly support, except that Firefox 48 is also supported.
I think the main consequence of this change is to stop Emscripten using
sign-extension and mutable-globals in WebAssembly, which it's done by
default since version 3.1.26.
Diffstat (limited to 'pattern.c')
0 files changed, 0 insertions, 0 deletions