diff options
author | Martino Facchin <m.facchin@arduino.cc> | 2016-11-23 14:51:38 +0100 |
---|---|---|
committer | Martino Facchin <m.facchin@arduino.cc> | 2016-11-23 14:51:38 +0100 |
commit | 9cf0e002ffe98120077a35d8388bafe7c92b7493 (patch) | |
tree | c6935c4b24a2805ce725decee8929b226af611a6 /platform.txt | |
parent | 0c09aa10d0ce3da5902f2ea1204e0a4f1c89d373 (diff) |
[AVR] Add -g to elf.flags to allow inclusion of debug symbols in elf
Fixes #5539
Diffstat (limited to 'platform.txt')
-rw-r--r-- | platform.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform.txt b/platform.txt index be39be7..9b5669e 100644 --- a/platform.txt +++ b/platform.txt @@ -21,7 +21,7 @@ compiler.warning_flags.all=-Wall -Wextra compiler.path={runtime.tools.avr-gcc.path}/bin/ compiler.c.cmd=avr-gcc compiler.c.flags=-c -g -Os {compiler.warning_flags} -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -compiler.c.elf.flags={compiler.warning_flags} -Os -flto -fuse-linker-plugin -Wl,--gc-sections +compiler.c.elf.flags={compiler.warning_flags} -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections compiler.c.elf.cmd=avr-gcc compiler.S.flags=-c -g -x assembler-with-cpp -flto -MMD compiler.cpp.cmd=avr-g++ |