Add "-g" to 'release' and 'develop' profiles

This is used by mbed-os-linker-report and doesn't increase the code
size.
pull/11051/head
Bogdan Marinescu 2017-10-30 19:10:19 +02:00
parent 48d35c4fb0
commit 2e988a3649
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
"-fmessage-length=0", "-fno-exceptions", "-fno-builtin", "-fmessage-length=0", "-fno-exceptions", "-fno-builtin",
"-ffunction-sections", "-fdata-sections", "-funsigned-char", "-ffunction-sections", "-fdata-sections", "-funsigned-char",
"-MMD", "-fno-delete-null-pointer-checks", "-MMD", "-fno-delete-null-pointer-checks",
"-fomit-frame-pointer", "-Os"], "-fomit-frame-pointer", "-Os", "-g"],
"asm": ["-x", "assembler-with-cpp"], "asm": ["-x", "assembler-with-cpp"],
"c": ["-std=gnu99"], "c": ["-std=gnu99"],
"cxx": ["-std=gnu++98", "-fno-rtti", "-Wvla"], "cxx": ["-std=gnu++98", "-fno-rtti", "-Wvla"],

View File

@ -5,7 +5,7 @@
"-fmessage-length=0", "-fno-exceptions", "-fno-builtin", "-fmessage-length=0", "-fno-exceptions", "-fno-builtin",
"-ffunction-sections", "-fdata-sections", "-funsigned-char", "-ffunction-sections", "-fdata-sections", "-funsigned-char",
"-MMD", "-fno-delete-null-pointer-checks", "-MMD", "-fno-delete-null-pointer-checks",
"-fomit-frame-pointer", "-Os", "-DNDEBUG"], "-fomit-frame-pointer", "-Os", "-DNDEBUG", "-g"],
"asm": ["-x", "assembler-with-cpp"], "asm": ["-x", "assembler-with-cpp"],
"c": ["-std=gnu99"], "c": ["-std=gnu99"],
"cxx": ["-std=gnu++98", "-fno-rtti", "-Wvla"], "cxx": ["-std=gnu++98", "-fno-rtti", "-Wvla"],