use cxx compiler on sgi to build static libs
This commit is contained in:
parent
c3f1e86aa9
commit
e3b19f880f
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue