mirror of
https://github.com/nwchemgit/nwchem.git
synced 2026-07-28 22:25:48 -04:00
set CC=cc when unset
This commit is contained in:
parent
69895d9cdd
commit
5ffbab276d
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue