mirror of https://github.com/ARMmbed/mbed-os.git
CMake toolchain: set optimization in profiles
parent
24c79a4b47
commit
2efe469645
|
@ -11,7 +11,6 @@ list(APPEND common_options
|
||||||
"${MBED_STUDIO_ARM_COMPILER}"
|
"${MBED_STUDIO_ARM_COMPILER}"
|
||||||
"-c"
|
"-c"
|
||||||
"--target=arm-arm-none-eabi"
|
"--target=arm-arm-none-eabi"
|
||||||
"-Oz"
|
|
||||||
"-Wno-armcc-pragma-push-pop"
|
"-Wno-armcc-pragma-push-pop"
|
||||||
"-Wno-armcc-pragma-anon-unions"
|
"-Wno-armcc-pragma-anon-unions"
|
||||||
"-Wno-reserved-user-defined-literal"
|
"-Wno-reserved-user-defined-literal"
|
||||||
|
|
|
@ -31,7 +31,6 @@ list(APPEND common_options
|
||||||
"-funsigned-char"
|
"-funsigned-char"
|
||||||
"-MMD"
|
"-MMD"
|
||||||
"-fomit-frame-pointer"
|
"-fomit-frame-pointer"
|
||||||
"-Os"
|
|
||||||
"-g"
|
"-g"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue