mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-12-01 10:34:23 +01:00
[gpu] Use -Os -flto for web demo build
Reduces wasm size from 933K to 687K via size optimization and link-time dead code elimination. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
30e1a703f0
commit
833e90f904
1 file changed
+1
-1
@@ -12,7 +12,7 @@ mkdir -p "$OUTDIR"
|
||||
|
||||
em++ \
|
||||
-std=c++17 \
|
||||
-O2 \
|
||||
-Os -flto \
|
||||
-I"$SRCDIR/src" \
|
||||
-DHB_NO_MT \
|
||||
-DHAVE_ROUND \
|
||||
|
||||
Reference in new issue
Block a user