Commit 271f417
authored
Use GCC wrapped ar & ranlib to enable LTO (platformio#1329)
LTO shifts compilation to the final link, allowing for more aggressive optimisations.
AR & RANLIB need to use their gcc equivalents to enable this, and will otherwise behave identically if LTO data is not in the objects.
Signed-off-by: Alastair D'Silva <alastair@d-silva.org>1 parent 141b048 commit 271f417
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
253 | | - | |
| 253 | + | |
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
| |||
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
269 | | - | |
| 269 | + | |
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
| |||
0 commit comments