Add linaro compatibility flags

Change-Id: I55dab89909e9e717f446a1109c36ffce72be05a3