[gpu] Use -Oz for web demo build

Reduces wasm size from 687K to 593K.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Behdad EsfahbodandClaude Opus 4.6 committed 2026-03-28 11:14:51 -06:00
1 parent 833e90f904
commit 468bbb1b5d
1 file changed
+1 -1
+1 -1
View File
@@ -12,7 +12,7 @@ mkdir -p "$OUTDIR"
em++ \
-std=c++17 \
-Os -flto \
-Oz -flto \
-I"$SRCDIR/src" \
-DHB_NO_MT \
-DHAVE_ROUND \