Overwriting CLAGS in rsb

Chris Johns chrisj at rtems.org
Thu Jul 30 01:45:24 UTC 2015


On 30/07/2015 7:19 am, Jan Sommer wrote:
> How do I change the CFLAGS to build the gcc cross compiler from "-g -O2" to "-g -O0"?
> I tried to change the corresponding variables in default.msc, but that doesn't seem to do the trick.

Try '--targetcflags="-g -O0"'. There is also '--targetcxxflags'.

The defaults.mc reference is:

 https://git.rtems.org/rtems-source-builder/tree/source-builder/defaults.mc#n239

Chris



More information about the users mailing list