On Tue, Apr 05, 2011 at 10:19:32PM +0200, Clément Bœsch wrote:
> From 50e0086dd0815dd111eecf7c1121794ff644e183 Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= <[email protected]>
> Date: Tue, 5 Apr 2011 22:15:29 +0200
> Subject: [PATCH] Add environment detection for CC and HOSTCC
> 

Sorry for the noise, Janne just bump me on IRC about the ${VAR-default}
format, so patch updated.

-- 
Clément B.
From 299feb8042118d648a3f1e741c2e93a0bb91b9ed Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= <[email protected]>
Date: Tue, 5 Apr 2011 22:15:29 +0200
Subject: [PATCH] Add environment detection for CC and HOSTCC

---
 configure |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index 92a809f..1363295 100755
--- a/configure
+++ b/configure
@@ -1597,9 +1597,9 @@ shlibdir_default="$libdir_default"
 
 # toolchain
 ar_default="ar"
-cc_default="gcc"
+cc_default="${CC-gcc}"
 cc_version=\"unknown\"
-host_cc_default="gcc"
+host_cc_default="${HOSTCC-gcc}"
 ln_s="ln -sf"
 nm_default="nm"
 objformat="elf"
-- 
1.7.4.2

Attachment: pgp3b9bJALdHq.pgp
Description: PGP signature

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to