[vlc-devel] [PATCH 1/3] contrib/bootstrap: don't assume cc is GCC

Sean McGovern gseanmcg at gmail.com
Thu Mar 13 18:50:25 CET 2014


---
 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
-- 
1.7.9.2




More information about the vlc-devel mailing list