summaryrefslogtreecommitdiff
path: root/hints/sco.sh
diff options
context:
space:
mode:
authorPerl 5 Porters <perl5-porters@africa.nicoh.com>1996-09-02 22:18:45 +0000
committerAndy Dougherty <doughera@lafcol.lafayette.edu>1996-09-02 22:18:45 +0000
commit8a67a0a36385431c513675547522fff1224e12ff (patch)
tree595245fe4cd420ea6b26d4ed4f2f6276da1f6bab /hints/sco.sh
parent4137488c154711ae2ab1a2e80eece811e04f5672 (diff)
downloadperl-8a67a0a36385431c513675547522fff1224e12ff.tar.gz
perl 5.003_05: hints/sco.sh
Turn off optimization for stock cc. This appears to prevent miniperl core dumps.
Diffstat (limited to 'hints/sco.sh')
-rw-r--r--hints/sco.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/hints/sco.sh b/hints/sco.sh
index 7b20073824..a9e3effe54 100644
--- a/hints/sco.sh
+++ b/hints/sco.sh
@@ -76,7 +76,11 @@ icc)# Apparently, SCO's cc gives rather verbose warnings
esac
;;
-*) # Apparently, SCO's cc gives rather verbose warnings
+*) # Apparently, miniperl core dumps if -O is used.
+ case "$optimize" in
+ '') optimize=none ;;
+ esac
+ # Apparently, SCO's cc gives rather verbose warnings
# Set -w0 to turn them off.
case $scorls in
3) ccflags="$ccflags -W0 -quiet -U M_XENIX" ;;