use cxx compiler on sgi to build static libs

This commit is contained in:
Bill Hoffman 2001-12-18 17:17:03 -05:00
parent c3f1e86aa9
commit e3b19f880f
1 changed files with 8 additions and 0 deletions

8
Templates/configure vendored
View File

@ -3173,6 +3173,14 @@ case $system in
CMAKE_AR="$CXX" CMAKE_AR="$CXX"
CMAKE_AR_ARGS="-xar -o" CMAKE_AR_ARGS="-xar -o"
fi 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 esac