diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2001-12-18 22:17:03 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2001-12-18 22:17:03 (GMT) |
commit | e3b19f880f6be760bd07609765d72e5b174f5ef4 (patch) | |
tree | f5f8a93c7a016908683b1f7d5ec1c0fbf9107127 /Templates | |
parent | c3f1e86aa92ad5a7b262ab5e50fdfab1a790e5e5 (diff) | |
download | CMake-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-x | Templates/configure | 8 |
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 |