From e3b19f880f6be760bd07609765d72e5b174f5ef4 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Tue, 18 Dec 2001 17:17:03 -0500 Subject: use cxx compiler on sgi to build static libs --- Templates/configure | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- cgit v0.12