File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -20,13 +20,13 @@ compiler.warning_flags.all=-Wall -Wextra
20
20
# Default "compiler.path" is correct, change only if you want to override the initial value
21
21
compiler.path={runtime.tools.avr-gcc.path}/bin/
22
22
compiler.c.cmd=avr-gcc
23
- compiler.c.flags=-c -g -Os {compiler.warning_flags} -std=gnu11 -ffunction-sections -fdata-sections -MMD
24
- compiler.c.elf.flags={compiler.warning_flags} -Os -Wl,--gc-sections
23
+ compiler.c.flags=-c -g -Os {compiler.warning_flags} -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects
24
+ compiler.c.elf.flags={compiler.warning_flags} -Os -Wl,--gc-sections -flto -fuse-linker-plugin
25
25
compiler.c.elf.cmd=avr-gcc
26
- compiler.S.flags=-c -g -x assembler-with-cpp
26
+ compiler.S.flags=-c -g -x assembler-with-cpp -flto
27
27
compiler.cpp.cmd=avr-g++
28
- compiler.cpp.flags=-c -g -Os {compiler.warning_flags} -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD
29
- compiler.ar.cmd=avr-ar
28
+ compiler.cpp.flags=-c -g -Os {compiler.warning_flags} -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto
29
+ compiler.ar.cmd=avr-gcc- ar
30
30
compiler.ar.flags=rcs
31
31
compiler.objcopy.cmd=avr-objcopy
32
32
compiler.objcopy.eep.flags=-O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0
You can’t perform that action at this time.
0 commit comments