]> git.bitcoin.ninja Git - ldk-java/commitdiff
[TS] Swap Os for Oz because its a minor change and a minor win
authorMatt Corallo <git@bluematt.me>
Sat, 15 Jan 2022 20:54:37 +0000 (20:54 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 17 Jan 2022 04:34:51 +0000 (04:34 +0000)
genbindings.sh

index ce9411e1c012cc43020c1d6c70b6c60661eed6ea..3d6ea6bcef5f033c9eae90f07c07a4f6f2513305 100755 (executable)
@@ -209,7 +209,7 @@ else
                $COMPILE -o liblightningjs_debug.wasm -g -I"$1"/lightning-c-bindings/include/ ts/bindings.c "$1"/lightning-c-bindings/target/wasm32-wasi/debug/libldk.a $EXTRA_LINK
        else
                WASM_FILE=liblightningjs_release.wasm
-               $COMPILE -o liblightningjs_release.wasm -s -Os -I"$1"/lightning-c-bindings/include/ ts/bindings.c "$1"/lightning-c-bindings/target/wasm32-wasi/release/libldk.a $EXTRA_LINK
+               $COMPILE -o liblightningjs_release.wasm -s -Oz -I"$1"/lightning-c-bindings/include/ ts/bindings.c "$1"/lightning-c-bindings/target/wasm32-wasi/release/libldk.a $EXTRA_LINK
        fi
 
        if [ -x "$(which tsc)" ]; then