diff options
author | Sevan Janiyan <venture37@geeklan.co.uk> | 2020-12-02 19:50:37 +0000 |
---|---|---|
committer | Steve Hay <steve.m.hay@googlemail.com> | 2020-12-26 15:27:40 +0000 |
commit | 1b3274a9d9ad4a3153b9cc9cdfa5127ace9655cc (patch) | |
tree | 033c09af0e313802fcfdac0e658fbb266a29a654 | |
parent | 7a454aa1cba5a4233fd3a0092563e042fc1a6498 (diff) | |
download | perl-1b3274a9d9ad4a3153b9cc9cdfa5127ace9655cc.tar.gz |
Detect GCC as compiler to use
On Illumos based distributions GCC is likely the compiler available on the system.
Change tested on SmartOS
(cherry picked from commit 800aab6349e0a8fc07de4c691a51468570c2cd4b)
-rw-r--r-- | hints/solaris_2.sh | 3 |
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 |