summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-03-13 00:17:13 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-03-13 00:17:13 +0000
commit6a06028f6a761e37a22e953f51c972248fbe4c7d (patch)
tree370bbc143312530866cc6a6c8be33f4db39903e5 /hints
parent7a0b93173e7fc56f5e9e76dabfeb93ce445ead90 (diff)
parent24ef60581ee187bb6d4388e124dfc34b8cf0b663 (diff)
downloadperl-6a06028f6a761e37a22e953f51c972248fbe4c7d.tar.gz
Integrate with Sarathy.
p4raw-id: //depot/cfgperl@5686
Diffstat (limited to 'hints')
-rw-r--r--hints/hpux.sh15
1 files changed, 9 insertions, 6 deletions
diff --git a/hints/hpux.sh b/hints/hpux.sh
index 67d823adf6..91ba86831e 100644
--- a/hints/hpux.sh
+++ b/hints/hpux.sh
@@ -92,12 +92,15 @@ EOM
cppminus='-'
cpplast='-'
fi
- # For HP's ANSI C compiler, up to "+O3" is safe for everything
- # except shared libraries (PIC code). Max safe for PIC is "+O2".
- # Setting both causes innocuous warnings.
- #optimize='+O3'
- #cccdlflags='+z +O2'
- optimize='-O'
+ case "$optimize" in
+ # For HP's ANSI C compiler, up to "+O3" is safe for everything
+ # except shared libraries (PIC code). Max safe for PIC is "+O2".
+ # Setting both causes innocuous warnings.
+ '') optimize='-O'
+ #optimize='+O3'
+ #cccdlflags='+z +O2'
+ ;;
+ esac
cc=cc
;;
esac