Patchwork [3/3] configure: pull AR from the env too

login
register
mail settings
Submitter Mike Frysinger
Date Dec. 16, 2012, 10:09 p.m.
Message ID <1355695757-9957-3-git-send-email-vapier@gentoo.org>
Download mbox | patch
Permalink /patch/206745/
State Accepted
Delegated to: stephen hemminger
Headers show

Comments

Mike Frysinger - Dec. 16, 2012, 10:09 p.m.
This matches the existing CC behavior.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
 configure | 2 ++
 1 file changed, 2 insertions(+)
stephen hemminger - Dec. 17, 2012, 5:14 p.m.
On Sun, 16 Dec 2012 17:09:17 -0500
Mike Frysinger <vapier@gentoo.org> wrote:

> This matches the existing CC behavior.
> 
> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
> ---
>  configure | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/configure b/configure
> index ea1038d..7c2db9b 100755
> --- a/configure
> +++ b/configure
> @@ -10,7 +10,9 @@ trap 'status=$?; rm -rf $TMPDIR; exit $status' EXIT HUP INT QUIT TERM
>  check_toolchain()
>  {
>  : ${PKG_CONFIG:=pkg-config}
> +: ${AR=ar}
>  : ${CC=gcc}
> +echo "AR:=${AR}" >>Config
>  echo "CC:=${CC}" >>Config
>  echo "PKG_CONFIG:=${PKG_CONFIG}" >>Config
>  }

All applied
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/configure b/configure
index ea1038d..7c2db9b 100755
--- a/configure
+++ b/configure
@@ -10,7 +10,9 @@  trap 'status=$?; rm -rf $TMPDIR; exit $status' EXIT HUP INT QUIT TERM
 check_toolchain()
 {
 : ${PKG_CONFIG:=pkg-config}
+: ${AR=ar}
 : ${CC=gcc}
+echo "AR:=${AR}" >>Config
 echo "CC:=${CC}" >>Config
 echo "PKG_CONFIG:=${PKG_CONFIG}" >>Config
 }