set CC=cc when unset

This commit is contained in:
edoapra 2021-06-28 21:13:10 -07:00
parent 69895d9cdd
commit 5ffbab276d
No known key found for this signature in database
GPG key ID: 472C4EBB4F3AEDFA

View file

@ -4,6 +4,9 @@ arch=`uname -m`
if test -f "/usr/lib/os-release"; then
dist=$(grep ID= /etc/os-release |head -1 |cut -c4-| sed 's/\"//g')
fi
if [ -z "$CC" ] ; then
CC=$cc
fi
if [ -z "$DISTR" ] ; then
DISTR=$dist
fi