summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjorn Granlund <tege@gmplib.org>2009-04-06 15:48:12 +0200
committerTorbjorn Granlund <tege@gmplib.org>2009-04-06 15:48:12 +0200
commit965b5e66950a6cd6906e3ffd4032c16606379026 (patch)
treed0e4c9e2b5a543a8bf2d75696f87e624b87bb538
parent6ce0f121f5cfb13b8e2182c4af5bee2e951d3ce1 (diff)
downloadgmp-965b5e66950a6cd6906e3ffd4032c16606379026.tar.gz
Support Sun cc for x86_64.
-rw-r--r--configure.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 0e17f36c2..751ddd860 100644
--- a/configure.in
+++ b/configure.in
@@ -1467,6 +1467,14 @@ case $host in
SPEED_CYCLECOUNTER_OBJ_64=x86_64.lo
cyclecounter_size_64=2
+ case $host in
+ *-*-solaris*)
+ # Sun cc.
+ cclist_64="$cclist_64 cc"
+ cc_64_cflags="-xO3 -m64"
+ ;;
+ esac
+
case $host_cpu in
athlon64 | x86_64)
abilist="64 32"
@@ -1475,7 +1483,6 @@ case $host in
pentium4)
abilist="64 32"
path_64="x86_64/pentium4 x86_64"
- cclist_64="gcc"
;;
core2)
abilist="64 32"