I'm probably missing something obvious, but I can't seem to disable optimizations. I've turned off all options for my target, except for "produce debugging symbols". However, whenever I build the target, I always have the -O2 option enabled in the build log.
I've searched the global compiler options and went so far as to turn off the all options for all targets (and the main project) except for debugging symbols, to no avail. I've even went into the cbp file with a text editor and made sure all optimization options were gone.
I had this happen once before, and I ended up deleting all the Codeblocks files and rebuilding the project. I don't want to have to do that again if I can help it.
My specs: Codeblocks 10.05, gcc 4.4.3, Ubuntu 10.04 64-bit.
Any ideas?
Thanks,
MadCat13