We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0bdcafd commit 4b4f185Copy full SHA for 4b4f185
hardware/arduino/avr/platform.txt
@@ -21,7 +21,7 @@ compiler.warning_flags.all=-Wall -Wextra
21
compiler.path={runtime.tools.avr-gcc.path}/bin/
22
compiler.c.cmd=avr-gcc
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
+compiler.c.elf.flags={compiler.warning_flags} -Os -flto -fuse-linker-plugin -Wl,--gc-sections
25
compiler.c.elf.cmd=avr-gcc
26
compiler.S.flags=-c -g -x assembler-with-cpp -flto
27
compiler.cpp.cmd=avr-g++
0 commit comments