diff options
author | Andy Dougherty <doughera@lafayette.edu> | 2008-07-29 08:00:52 -0400 |
---|---|---|
committer | H.Merijn Brand <h.m.brand@xs4all.nl> | 2008-07-29 16:15:17 +0000 |
commit | 395ff119ce07b37b4047046f91a4e4d2444f162b (patch) | |
tree | d6bee09571dbfd5ed9b8935aebbdc45529e4f8ec /hints | |
parent | 3880c8ecf10dc96c62bcbf2ffe75d782d2aed4a7 (diff) | |
download | perl-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')
-rw-r--r-- | hints/linux.sh | 2 |
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 |