diff options
| author | Simon John <git@the-jedi.co.uk> | 2016-10-11 15:23:36 +0100 |
|---|---|---|
| committer | Simon John <git@the-jedi.co.uk> | 2016-10-11 15:23:36 +0100 |
| commit | fe020380b604ea514594360eb77baaccd6533f68 (patch) | |
| tree | 14d01343ecb51210cd942dcd9863b286dbdda83d /examples/BlinkInAVRC | |
| parent | f3f7684463a4b0de85adbeff11c90ecfbfb13edd (diff) | |
Changed LTO support check to avr-gcc > 4.9.0 as the 4.8.1 bundled with the IDE prior to 1.6.10
doesn't support LTO or plugins. Fixes Issue #456
So essentially LTO support will only be enabled with avr-gcc 4.9.2 which comes with 1.6.10 or later
and Debian, Ubuntu etc; not 4.8.1 which comes with IDE 1.6.9 and a few earlier versions.
Tested with:
* 1.6.8 (avr-gcc 4.8.1 which doesn't support LTO so uses avr-ar and doesn't set LTO flags)
* 1.6.12 (avr-gcc 4.9.2 which supports LTO so uses avr-gcc-ar and sets LTO flags)
* 1.0.5 with Debian avr-gcc 4.9.2 (supports LTO so uses avr-gcc-ar and sets LTO flags)
Diffstat (limited to 'examples/BlinkInAVRC')
0 files changed, 0 insertions, 0 deletions
