]> git.stg.codes - stg.git/blobdiff - projects/sgauth/build
Fix error with undefined CC and CXX
[stg.git] / projects / sgauth / build
index 81a897f967a8b99a2b290997f42fbe7bad95cfda..1c3eb67af26e4c31c9d8f9049f4e045ffe143a3d 100755 (executable)
@@ -92,6 +92,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 ]