git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed compilation issues
[stg.git]
/
projects
/
sgauth
/
build
diff --git
a/projects/sgauth/build
b/projects/sgauth/build
index 81a897f967a8b99a2b290997f42fbe7bad95cfda..1c3eb67af26e4c31c9d8f9049f4e045ffe143a3d 100755
(executable)
--- a/
projects/sgauth/build
+++ b/
projects/sgauth/build
@@
-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 ]