summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorSteve Peters <steve@fisharerojo.org>2005-11-18 00:54:53 +0000
committerSteve Peters <steve@fisharerojo.org>2005-11-18 00:54:53 +0000
commit6452e86c69b266bb897f98f3dddf2b34d349676e (patch)
tree13775d758280c88fabbbbaae1fa67980188a8c16 /hints
parent5f2d41e3e8c7d6b37f40d83e6d9b01188656590c (diff)
downloadperl-6452e86c69b266bb897f98f3dddf2b34d349676e.tar.gz
Initial, albeit hackish, support for the alpha version of Sun Studio
compilers of Linux. p4raw-id: //depot/perl@26153
Diffstat (limited to 'hints')
-rw-r--r--hints/linux.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/hints/linux.sh b/hints/linux.sh
index 5c7e535e90..c894fde67c 100644
--- a/hints/linux.sh
+++ b/hints/linux.sh
@@ -83,6 +83,11 @@ case "`${cc:-cc} -V 2>&1`" in
'') optimize='-O3' ;;
esac
;;
+*"Sun C"*)
+ optimize='-xO2'
+ cccdlflags='-KPIC'
+ lddlflags='-G -Bdynamic'
+ ;;
esac
case "$optimize" in