mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-12 22:09:25 +08:00
contrib: Fallback to gcc if cc is not available.
Some systems do not ship a cc executable. Change-Id: Idb8ee8a5da0433bd96fb75dfcf1bd2d0aa6355e1
This commit is contained in:

committed by
Adrien Béraud

parent
905b95cd2c
commit
9d566c576c
@ -86,7 +86,7 @@ done
|
||||
if test -z "$BUILD"
|
||||
then
|
||||
echo -n "Guessing build system... "
|
||||
BUILD="`${CC:-cc} -dumpmachine`"
|
||||
BUILD="`${CC:-$(command -v cc || command -v gcc)} -dumpmachine`"
|
||||
if test -z "$BUILD"; then
|
||||
echo "FAIL!"
|
||||
exit 1
|
||||
|
Reference in New Issue
Block a user