mirror of https://github.com/ARMmbed/mbed-os.git
parent
848494928a
commit
a06da2a29d
|
@ -69,8 +69,11 @@ class GCC(mbedToolchain):
|
|||
if "save-asm" in self.options:
|
||||
common_flags.append("-save-temps")
|
||||
|
||||
common_flags.append("-ggdb")
|
||||
common_flags.append("-O0")
|
||||
if "debug-info" in self.options:
|
||||
common_flags.append("-g")
|
||||
common_flags.append("-O0")
|
||||
else:
|
||||
common_flags.append("-O2")
|
||||
|
||||
main_cc = join(tool_path, "arm-none-eabi-gcc")
|
||||
main_cppc = join(tool_path, "arm-none-eabi-g++")
|
||||
|
|
Loading…
Reference in New Issue