From fe020380b604ea514594360eb77baaccd6533f68 Mon Sep 17 00:00:00 2001 From: Simon John Date: Tue, 11 Oct 2016 15:23:36 +0100 Subject: 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) --- HISTORY.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'HISTORY.md') diff --git a/HISTORY.md b/HISTORY.md index d897797..8777964 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -5,7 +5,7 @@ The following is the rough list of changes that went into different versions. I tried to give credit whenever possible. If I have missed anyone, kindly add it to the list. ### In Development -- New: Add LTO support for users with avr-gcc > 4.8 (issue #446) (https://github.com/sej7278) +- New: Add LTO support for users with avr-gcc > 4.9 (issue #446 & #456) (https://github.com/sej7278) - Tweak: Updated Linux instructions and sync documentation from the old blog(), README.md and Arduino.mk (https://github.com/az-z) - Fix: Updated CXXFLAGS_STD to match upstream 1.6 (issue #424) (https://github.com/calvinli) - Fix: Added support for attiny core's use of chip instead of cpu in submenus (https://github.com/straccio) -- cgit v1.2.3