projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Minor hints/linux.sh patch to allow setting -Doptimize
[p5sagit/p5-mst-13.2.git]
/
hints
/
linux.sh
diff --git
a/hints/linux.sh
b/hints/linux.sh
index
220e6a0
..
b254310
100644
(file)
--- 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