Conditionalise ARM specific compiler option

Change-Id: I92ed31bff30a5011e9e0e86c7c90ca140be2f4dc