Optimize more aggressively for WASM builds
authorMatt Corallo <git@bluematt.me>
Sat, 15 Jan 2022 22:59:11 +0000 (22:59 +0000)
committerMatt Corallo <git@bluematt.me>
Sun, 16 Jan 2022 00:03:38 +0000 (00:03 +0000)
commitd8861cc16426cc3cf9809da57d55eb88871fca3d
tree88599648412afde7db35732eb7a10ee546b455d8
parentb2819774e287d465e23415cbfdaa397e2e0a2749
Optimize more aggressively for WASM builds

Use `-Oz` instead of `-Os` because why not, and include LLVM
bitcode in C dependencies.

This reduces `liblightningjs_release.wasm` from 3.0MB to 2.4MB,
likely mostly from removing secp256k1 symbols that were unused.
genbindings.sh