mirror of https://github.com/ARMmbed/mbed-os.git
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
parent
48d35c4fb0
commit
2e988a3649
|
@ -5,7 +5,7 @@
|
|||
"-fmessage-length=0", "-fno-exceptions", "-fno-builtin",
|
||||
"-ffunction-sections", "-fdata-sections", "-funsigned-char",
|
||||
"-MMD", "-fno-delete-null-pointer-checks",
|
||||
"-fomit-frame-pointer", "-Os"],
|
||||
"-fomit-frame-pointer", "-Os", "-g"],
|
||||
"asm": ["-x", "assembler-with-cpp"],
|
||||
"c": ["-std=gnu99"],
|
||||
"cxx": ["-std=gnu++98", "-fno-rtti", "-Wvla"],
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
"-fmessage-length=0", "-fno-exceptions", "-fno-builtin",
|
||||
"-ffunction-sections", "-fdata-sections", "-funsigned-char",
|
||||
"-MMD", "-fno-delete-null-pointer-checks",
|
||||
"-fomit-frame-pointer", "-Os", "-DNDEBUG"],
|
||||
"-fomit-frame-pointer", "-Os", "-DNDEBUG", "-g"],
|
||||
"asm": ["-x", "assembler-with-cpp"],
|
||||
"c": ["-std=gnu99"],
|
||||
"cxx": ["-std=gnu++98", "-fno-rtti", "-Wvla"],
|
||||
|
|
Loading…
Reference in New Issue