This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a0027a
)
Detect GCC as compiler to use
author
Sevan Janiyan
<venture37@geeklan.co.uk>
Wed, 2 Dec 2020 19:50:37 +0000
(19:50 +0000)
committer
Karl Williamson
<khw@cpan.org>
Wed, 2 Dec 2020 19:57:57 +0000
(12:57 -0700)
On Illumos based distributions GCC is likely the compiler available on the system.
Change tested on SmartOS
hints/solaris_2.sh
patch
|
blob
|
blame
|
history
diff --git
a/hints/solaris_2.sh
b/hints/solaris_2.sh
index
c613406
..
e50d9d8
100644
(file)
--- 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