diff options
author | Federico Fissore <f.fissore@arduino.cc> | 2014-04-28 11:04:17 +0200 |
---|---|---|
committer | Cristian Maglie <c.maglie@bug.st> | 2014-06-25 10:14:34 +0200 |
commit | 4fd704a1a5f563a741966516cb78345135a947fe (patch) | |
tree | 5e4adea23d1282965cab036cfc25eb417f4e19d5 /platform.txt | |
parent | 64828ce62c00973fc933afb27a473f31dda164f5 (diff) |
Enabling link-time optimization. See #660
Diffstat (limited to 'platform.txt')
-rw-r--r-- | platform.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/platform.txt b/platform.txt index 575a10b..32c2e17 100644 --- a/platform.txt +++ b/platform.txt @@ -14,12 +14,12 @@ version=1.5.6 # Default "compiler.path" is correct, change only if you want to overidde the initial value compiler.path={runtime.ide.path}/hardware/tools/avr/bin/ compiler.c.cmd=avr-gcc -compiler.c.flags=-c -g -Os -w -ffunction-sections -fdata-sections -MMD -compiler.c.elf.flags=-Os -Wl,--gc-sections +compiler.c.flags=-c -g -Os -w -ffunction-sections -fdata-sections -MMD -flto +compiler.c.elf.flags=-Os -Wl,--gc-sections -flto compiler.c.elf.cmd=avr-gcc compiler.S.flags=-c -g -x assembler-with-cpp compiler.cpp.cmd=avr-g++ -compiler.cpp.flags=-c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD +compiler.cpp.flags=-c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD -flto compiler.ar.cmd=avr-ar compiler.ar.flags=rcs compiler.objcopy.cmd=avr-objcopy |