Commit fab4f4d
committed
Fix toolchain compatibility for Emscripten builds
This commit
1. fixes macOS linker flag detection
2. adds Emscripten memory configuration:
- Configured -sINITIAL_MEMORY=33554432 (32MB)
- Enabled -sALLOW_MEMORY_GROWTH=1
- Set -sSTACK_SIZE=1048576 (1MB)
Known Issue - Emscripten 4.0.17 Compatibility:
The "wasm-ld: error: animation.c.o: section too large" error persists
even with memory configuration and -O2 optimization. This is a known
limitation of wasm-ld when linking multiple large object files.1 parent fcd3525 commit fab4f4d
2 files changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
173 | 181 | | |
174 | 182 | | |
175 | 183 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
| 151 | + | |
152 | 152 | | |
153 | | - | |
| 153 | + | |
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| |||
0 commit comments