X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/ceffe6cd00a822d29681a0d35d98fc8fb83aa73b..1e3b7df4933a8db8bb625d394994c8863f2c7bdd:/projects/sgconf/build

diff --git a/projects/sgconf/build b/projects/sgconf/build
index c0cb49b6..44f6e617 100755
--- a/projects/sgconf/build
+++ b/projects/sgconf/build
@@ -91,6 +91,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 ]