summaryrefslogtreecommitdiff
path: root/hints/solaris_2.sh
diff options
context:
space:
mode:
Diffstat (limited to 'hints/solaris_2.sh')
-rw-r--r--hints/solaris_2.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/hints/solaris_2.sh b/hints/solaris_2.sh
index c6134060f7..e50d9d8323 100644
--- a/hints/solaris_2.sh
+++ b/hints/solaris_2.sh
@@ -90,7 +90,8 @@ END
`
case "$cc" in
-'') for i in `ls -r /opt/*studio*/bin/cc` /opt/SUNWspro/bin/cc
+'') for i in `ls -r /opt/*studio*/bin/cc` /opt/SUNWspro/bin/cc \
+ `which gcc`
do
if test -f "$i"; then
cc=$i