summaryrefslogtreecommitdiffstats
path: root/Templates
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-12-18 22:17:03 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-12-18 22:17:03 (GMT)
commite3b19f880f6be760bd07609765d72e5b174f5ef4 (patch)
treef5f8a93c7a016908683b1f7d5ec1c0fbf9107127 /Templates
parentc3f1e86aa92ad5a7b262ab5e50fdfab1a790e5e5 (diff)
downloadCMake-e3b19f880f6be760bd07609765d72e5b174f5ef4.zip
CMake-e3b19f880f6be760bd07609765d72e5b174f5ef4.tar.gz
CMake-e3b19f880f6be760bd07609765d72e5b174f5ef4.tar.bz2
use cxx compiler on sgi to build static libs
Diffstat (limited to 'Templates')
-rwxr-xr-xTemplates/configure8
1 files changed, 8 insertions, 0 deletions
diff --git a/Templates/configure b/Templates/configure
index 3ee74da..0c57d1a 100755
--- a/Templates/configure
+++ b/Templates/configure
@@ -3173,6 +3173,14 @@ case $system in
CMAKE_AR="$CXX"
CMAKE_AR_ARGS="-xar -o"
fi
+ IRIX*)
+ if test $ac_cv_prog_gxx = yes; then
+ :
+ else
+ echo "Using $CXX -xar -o for creating .a libraries"
+ CMAKE_AR="$CXX"
+ CMAKE_AR_ARGS="-ar -o"
+ fi
esac