Support linaro GCC build

edit by XianGxin