X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/1325cf9788d4089f9d20bf2121b0872c6369c817..f19bef8a44d3e9e02cc3d4069a3b0dd2169af094:/projects/rscriptd/build

diff --git a/projects/rscriptd/build b/projects/rscriptd/build
index 88fcef0b..38ec5fc1 100755
--- a/projects/rscriptd/build
+++ b/projects/rscriptd/build
@@ -94,6 +94,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 ]