]> git.sesse.net Git - vlc/commitdiff
contrib/bootstrap: don't assume cc is GCC
authorSean McGovern <gseanmcg@gmail.com>
Thu, 13 Mar 2014 17:50:25 +0000 (13:50 -0400)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 13 Mar 2014 18:17:46 +0000 (20:17 +0200)
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
contrib/bootstrap

index 24e5779e8753805340f5bd314821d8691b41fb47..26e1c2cc0b323e8b02ba178cb396eb7bab51fcba 100755 (executable)
@@ -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