Arduino 1.0 modify compiler optimization string?

Deep in the source to the IDE: https://github.com/arduino/Arduino/blob/master/app/src/processing/app/debug/Compiler.java

To control it yourself, the typical solution is to move to a Makefile (that is, ditch the IDE and build it yourself).