[vlc-commits] contrib/bootstrap: don't assume cc is GCC

Sean McGovern git at videolan.org
Thu Mar 13 19:17:53 CET 2014


vlc | branch: master | Sean McGovern <gseanmcg at gmail.com> | Thu Mar 13 13:50:25 2014 -0400| [e858eb13be6ab571879b487a4b7d4222f7c26d1a] | committer: Rémi Denis-Courmont

contrib/bootstrap: don't assume cc is GCC

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e858eb13be6ab571879b487a4b7d4222f7c26d1a
---

 contrib/bootstrap |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/bootstrap b/contrib/bootstrap
index 24e5779..26e1c2c 100755
--- a/contrib/bootstrap
+++ b/contrib/bootstrap
@@ -98,7 +98,7 @@ done
 if test -z "$BUILD"
 then
 	echo -n "Guessing build system... "
-	BUILD="`cc -dumpmachine`"
+	BUILD="`${CC:-cc} -dumpmachine`"
 	if test -z "$BUILD"; then
 		echo "FAIL!"
 		exit 1



More information about the vlc-commits mailing list