stage clang compatibility from linaro

Change-Id: I0f575ff1a09f3bc2ddb4bc961c8959e0fcae554e