Commit 7a69b7f
committed
Enable LTO, reduce asset count
Enable -flto, -sEVAL_CTORS=1, reduce output file size by doing link-time optimizations and pre-evaluating code.
--memory-init-file=0 allows for lesser split output files.
Disable AUTO_NATIVE_LIBRARIES
Use --embed-file instead of --preload-file1 parent 952afbd commit 7a69b7f
1 file changed
+7
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| 158 | + | |
158 | 159 | | |
159 | | - | |
160 | | - | |
161 | | - | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
162 | 163 | | |
163 | 164 | | |
| 165 | + | |
164 | 166 | | |
165 | 167 | | |
166 | 168 | | |
| |||
0 commit comments