X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/1325cf9788d4089f9d20bf2121b0872c6369c817..f19bef8a44d3e9e02cc3d4069a3b0dd2169af094:/projects/stargazer/build?ds=sidebyside diff --git a/projects/stargazer/build b/projects/stargazer/build index c2b171a4..a83ab8fe 100755 --- a/projects/stargazer/build +++ b/projects/stargazer/build @@ -59,7 +59,7 @@ MIN_XMLRPCC_VERSION="1.06.27" XMLRPC_FEATURES="c++2 abyss-server" -if [ -z $1 ] +if [ -z "$1" ] then DEFS="$DEFS -DNDEBUG" MAKEOPTS="-j1" @@ -158,6 +158,16 @@ else SHELL="/usr/local/bin/bash" fi +if [ -z "$CC" ] +then + CC=gcc +fi + +if [ -z "$CXX" ] +then + CXX=g++ +fi + echo -n "Checking CC... " $CC --version > /dev/null 2> /dev/null if [ $? != 0 ]