Commit 1e675ff
committed
perf: add Release build flags for binary size reduction
Add -fvisibility=hidden, -ffunction-sections, -fdata-sections,
-Wl,--gc-sections, -Wl,--strip-all, -Wl,--hash-style=gnu,
-Wl,--build-id=none to Release builds. Debug builds unchanged.
Release size-optimized binary: 523KB.1 parent 5a7cc6a commit 1e675ff
1 file changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
56 | 70 | | |
57 | 71 | | |
58 | 72 | | |
| |||
0 commit comments