revert to -O2 because ROM full of linker errors

Change-Id: If19a8778b2faba17216fcf749356822d0b6c4614