CMake GCC ARM: add -g3 to the common

Remove -g as g3 already provided
pull/13566/head
Martin Kojtal 2020-07-30 13:22:43 +01:00 committed by Hugues Kamba
parent 67c364d281
commit fa8d9fd21a
2 changed files with 1 additions and 4 deletions

View File

@ -7,7 +7,6 @@ if(MBED_TOOLCHAIN STREQUAL "GCC_ARM")
list(APPEND c_compile_options
"-c"
"-std=gnu11"
"-g3"
"-Og"
)
target_compile_options(mbed-os
@ -17,7 +16,6 @@ if(MBED_TOOLCHAIN STREQUAL "GCC_ARM")
list(APPEND cxx_compile_options
"-c"
"-g3"
"-std=gnu++14"
"-fno-rtti"
"-Wvla"
@ -30,7 +28,6 @@ if(MBED_TOOLCHAIN STREQUAL "GCC_ARM")
list(APPEND asm_compile_options
"-c"
"-g3"
"-x" "assembler-with-cpp"
)
target_compile_options(mbed-os

View File

@ -31,7 +31,7 @@ list(APPEND common_options
"-funsigned-char"
"-MMD"
"-fomit-frame-pointer"
"-g"
"-g3"
)
target_compile_options(mbed-os