summaryrefslogtreecommitdiff
path: root/hints/linux.sh
diff options
context:
space:
mode:
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