summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPerl 5 Porters <perl5-porters@africa.nicoh.com>1996-07-05 04:35:15 +0000
committerCharles Bailey <bailey@genetics.upenn.edu>1996-07-05 04:35:15 +0000
commit180c3c44e996a924c6aa4a9ec05e607cad2c29ff (patch)
treebfac0d1265913ec7fc371a31e3c0422b255d2bf3
parent641d3f0be2e03aae525166b79ace4362378974b7 (diff)
downloadperl-180c3c44e996a924c6aa4a9ec05e607cad2c29ff.tar.gz
Recognize gcc binaries with version in name
-rw-r--r--hints/aux.sh2
-rw-r--r--hints/irix_4.sh2
-rw-r--r--hints/irix_5.sh2
-rw-r--r--hints/sco.sh2
4 files changed, 4 insertions, 4 deletions
diff --git a/hints/aux.sh b/hints/aux.sh
index add0f4dec8..e0aec237bc 100644
--- a/hints/aux.sh
+++ b/hints/aux.sh
@@ -6,7 +6,7 @@
# Fri May 5 10:59:43 EDT 1995
case "$cc" in
-gcc) optimize='-O2'
+*gcc*) optimize='-O2'
ccflags="$ccflags -D_POSIX_SOURCE"
echo "Setting hints for GNU CC."
;;
diff --git a/hints/irix_4.sh b/hints/irix_4.sh
index f934ac7725..a5d08e05b6 100644
--- a/hints/irix_4.sh
+++ b/hints/irix_4.sh
@@ -7,7 +7,7 @@ d_voidsig=define
d_charsprf=undef
case "$cc" in
-*gcc) ccflags="$ccflags -D_BSD_TYPES" ;;
+*gcc*) ccflags="$ccflags -D_BSD_TYPES" ;;
*) ccflags="$ccflags -ansiposix -signed" ;;
esac
diff --git a/hints/irix_5.sh b/hints/irix_5.sh
index 5027b1574f..e4d0347328 100644
--- a/hints/irix_5.sh
+++ b/hints/irix_5.sh
@@ -11,7 +11,7 @@ ld=ld
i_time='define'
case "$cc" in
-*gcc) ccflags="$ccflags -D_BSD_TYPES" ;;
+*gcc*) ccflags="$ccflags -D_BSD_TYPES" ;;
*) ccflags="$ccflags -D_POSIX_SOURCE -ansiposix -D_BSD_TYPES -Olimit 3000" ;;
esac
diff --git a/hints/sco.sh b/hints/sco.sh
index 307e27e4db..4cd15e4590 100644
--- a/hints/sco.sh
+++ b/hints/sco.sh
@@ -30,7 +30,7 @@ glibpth=`echo $glibpth | sed -e 's! /usr/lib/386 ! !' -e 's! /lib/386 ! !'`
xlibpth=''
case "$cc" in
-gcc)
+*gcc*)
ccflags="$ccflags -U M_XENIX"
optimize="$optimize -O2"
;;