I use Code::Blocks 13.12 on CentOS 7, which has gcc 4.8.2. I set compiler flags -std=c++11 -m64 -fPIC for the project, and set -O0 and -O3 for Debug and Release targets respectively. However, I notice that command line output in CB's build log window for the compiler always has -O3 and -pedantic flags turned on regardless of whether it is building 'Debug' or 'Release'.
I check at the project file and cannot find such flags defined anywhere.
What can be causing this?