summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-09-22 13:26:00 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-09-22 13:26:00 +0000
commit681f9a18945abe5b53ed23b1eaeb41edb9a59375 (patch)
treebe1f267f0b04f8b36d6e9cabbb07e4bc7027ae5e /hints
parent3b43288c93885fda04f2df820b4c56633364fd71 (diff)
downloadperl-681f9a18945abe5b53ed23b1eaeb41edb9a59375.tar.gz
Retract #4216 (Configure does take care of the problem.)
p4raw-id: //depot/cfgperl@4217
Diffstat (limited to 'hints')
-rw-r--r--hints/svr5.sh17
1 files changed, 6 insertions, 11 deletions
diff --git a/hints/svr5.sh b/hints/svr5.sh
index 476f2cfa73..44c03c9fc9 100644
--- a/hints/svr5.sh
+++ b/hints/svr5.sh
@@ -1,24 +1,19 @@
# svr5 hints, System V Release 5.x
# Last modified 1999/09/21 by Boyd Gerber, gerberb@zenez.com
-# with changes from Mike Hopkirk hops@sco.com
# Use Configure -Dcc=gcc to use gcc.
case "$cc" in
'') cc='/bin/cc'
test -f $cc || cc='/usr/ccs/bin/cc'
;;
-*gcc*)
- # "$gccversion" not set yet
- vers=`gcc -v 2>&1 | sed -n -e 's@.*version \([^ ][^ ]*\) .*@\1@p'`
- case $vers in
- *2.95*)
+ *)
+ case "$gccversion" in
+ *2.95*)
ccflags='-fno-strict-aliasing'
- # If it coredumps when running miniperl with the above switch on
- # try instead without optimisation.
- # optimize=' '
- ;;
+ ;;
+ *);;
esac
- ;;
+ ;;
esac
# want_ucb=''