use cxx compiler to build static libs on sgi
This commit is contained in:
parent
ccec141974
commit
c3f1e86aa9
|
@ -669,6 +669,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
|
||||
AC_SUBST(CMAKE_AR)
|
||||
AC_SUBST(CMAKE_AR_ARGS)
|
||||
|
|
Loading…
Reference in New Issue