summaryrefslogtreecommitdiff
path: root/hints/linux.sh
diff options
context:
space:
mode:
authorAndy Dougherty <doughera@lafayette.edu>2008-07-29 08:00:52 -0400
committerH.Merijn Brand <h.m.brand@xs4all.nl>2008-07-29 16:15:17 +0000
commit395ff119ce07b37b4047046f91a4e4d2444f162b (patch)
treed6bee09571dbfd5ed9b8935aebbdc45529e4f8ec /hints/linux.sh
parent3880c8ecf10dc96c62bcbf2ffe75d782d2aed4a7 (diff)
downloadperl-395ff119ce07b37b4047046f91a4e4d2444f162b.tar.gz
Minor hints/linux.sh patch to allow setting -Doptimize
Message-ID: <Pine.LNX.4.64.0807291159410.23060@fractal.phys.lafayette.edu> p4raw-id: //depot/perl@34162
Diffstat (limited to 'hints/linux.sh')
-rw-r--r--hints/linux.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/hints/linux.sh b/hints/linux.sh
index 220e6a002e..b254310539 100644
--- a/hints/linux.sh
+++ b/hints/linux.sh
@@ -97,7 +97,7 @@ case "`${cc:-cc} -V 2>&1`" in
esac
;;
*"Sun C"*)
- optimize='-xO2'
+ test "$optimize" || optimize='-xO2'
cccdlflags='-KPIC'
lddlflags='-G -Bdynamic'
# Sun C doesn't support gcc attributes, but, in many cases, doesn't