Turn on optimization with Mbed Studio 1.4.1

Hi Sir,

We are using Mbed Studio 1.4.1, mbed-os 6.11, mbed-cloud-client and other modules. Can we turn on the optimization individually when compiling our project?

For example, we need enable ‘-Os’ for mbed-os, but ‘-g -O0’ for application. I am wondering whether there is a flag section in mbed_lib.json, or could it be added later?

Regards,
Shoujie