Keywords: Compiler, Flags, Extra, O2, Software, Settings
I am trying to use compiler optimization flags for building the BSP. I set the value for EXTRA_COMPILER_FLAGS in Software Platform Settings to "-O0 -g." However, I still receive the "-O2" during BSP build:
"Configuring make for target include using:
make -s include "COMPILER=mb-g++" "ARCHIVER=mb-ar"
"COMPILER_FLAGS=-mno-xl-soft-mul -mxl-barrel-shift -mhard-float -mno-xl-soft-div
-O2 -c" "EXTRA_COMPILER_FLAGS=-g -O0"
Configuring make for target libs using:
make -s libs "COMPILER=mb-g++" "ARCHIVER=mb-ar"
"COMPILER_FLAGS=-mno-xl-soft-mul -mxl-barrel-shift -mhard-float -mno-xl-soft-div
-O2 -c" "EXTRA_COMPILER_FLAGS=-g -O0""