add  -Wno-error=unused-parameter to global flags for linaro building