Commit 95d9d665 authored by Mike Frysinger's avatar Mike Frysinger Committed by Stephen Hemminger

configure: pull AR from the env too

This matches the existing CC behavior.
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent 691c8a65
...@@ -10,7 +10,9 @@ trap 'status=$?; rm -rf $TMPDIR; exit $status' EXIT HUP INT QUIT TERM ...@@ -10,7 +10,9 @@ trap 'status=$?; rm -rf $TMPDIR; exit $status' EXIT HUP INT QUIT TERM
check_toolchain() check_toolchain()
{ {
: ${PKG_CONFIG:=pkg-config} : ${PKG_CONFIG:=pkg-config}
: ${AR=ar}
: ${CC=gcc} : ${CC=gcc}
echo "AR:=${AR}" >>Config
echo "CC:=${CC}" >>Config echo "CC:=${CC}" >>Config
echo "PKG_CONFIG:=${PKG_CONFIG}" >>Config echo "PKG_CONFIG:=${PKG_CONFIG}" >>Config
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment