Do not hard code toolchain binaries

If you are cross-compiling, you cannot execute `ar` and `ranlib` on the
target library, otherwise things may break.  Here we create standard AR
and RANLIB variables which can easily be overridden by the environment.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
2 files changed