]> git.stg.codes - stg.git/blobdiff - projects/stargazer/build
Merge branch 'master' into full-month-stats
[stg.git] / projects / stargazer / build
index c2b171a498134d9d3bd9e7364a4626e9237e2586..a83ab8fedf182d3f1299cbb7bf0d7a8657de2e5b 100755 (executable)
@@ -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 ]