linaro: toolchain: fixes for better ARM support

idea is taken here -
https://github.com/anarkia1976/AK-xGenesis-Flo/commit/76ab2b28e1e2fc2a60ca01f8b2d4a287e861bb10