mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-03 05:08:47 -06:00
use cxx compiler to build static libs on sgi
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user