Browse Source

wasm: compile .c files in packages

pull/89/head
Ayke van Laethem 6 years ago
parent
commit
8ee3267260
No known key found for this signature in database GPG Key ID: E97FF5335DFDFDED
  1. 5
      targets/wasm.json

5
targets/wasm.json

@ -1,7 +1,12 @@
{
"llvm-target": "wasm32-unknown-unknown-wasm",
"build-tags": ["js", "wasm"],
"compiler": "clang-7",
"linker": "ld.lld-7",
"cflags": [
"--target=wasm32",
"-Oz"
],
"ldflags": [
"-flavor", "wasm",
"-allow-undefined"

Loading…
Cancel
Save