Commit 4a4d4e09 authored by Mikael Ronstrom's avatar Mikael Ronstrom

Fixed bug in check-cpu script for SPARC and Solaris

Changed defaults on Solaris and Forte to be CC and cc instead of cc-5.0
parent de4116a1
...@@ -1202,10 +1202,10 @@ set_cc_and_cxx_for_icc() ...@@ -1202,10 +1202,10 @@ set_cc_and_cxx_for_icc()
set_cc_and_cxx_for_forte() set_cc_and_cxx_for_forte()
{ {
if test "x$CC" = "x" ; then if test "x$CC" = "x" ; then
CC="cc-5.0" CC="cc"
fi fi
if test "x$CXX" = "x" ; then if test "x$CXX" = "x" ; then
CXX="cc-5.0" CXX="CC"
fi fi
} }
......
...@@ -54,8 +54,8 @@ check_cpu () { ...@@ -54,8 +54,8 @@ check_cpu () {
model_name=`machine` model_name=`machine`
;; ;;
*) *)
cpu_family=`uname -m`; cpu_family=`uname -p`;
model_name=`uname -p`; model_name=`uname -m`;
;; ;;
esac esac
fi fi
...@@ -144,7 +144,7 @@ check_cpu () { ...@@ -144,7 +144,7 @@ check_cpu () {
cpu_arg="itanium" cpu_arg="itanium"
;; ;;
# Solaris Sparc # Solaris Sparc
*sparc*sun4u*) *sparc*sun4[uv]*)
cpu_arg="sparc" cpu_arg="sparc"
;; ;;
# Power PC # Power PC
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment