If you want to add the flag to the compiler options you have to go through Project->Build Phases->Compile Sources, and double click on each of the files where you want to put the flag :
Beware that there is a strange glitch depending on where the settings window is loaded :