[SOLVED] Is there any way to attach -D from within arduino IDE

Hey, i'm using 1.5.1r2 I cannot find a 'platforms.txt',
I also had a browse through the IDE preferences ( C:\Users\Chris\AppData\Roaming\Arduino ) but no luck. Would be very nice if I could change the optimisation levels.

Any locations I should be looking in?

EDIT: windows search is blind ( the machine's fault not the user :stuck_out_tongue: ), it was in "D:\arduino-1.5.1r2\hardware\arduino\avr"