mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
SunOS tweaks (Greg Menke)
This commit is contained in:
parent
e39cbf63f6
commit
176108767d
1 changed files with 4 additions and 3 deletions
|
|
@ -143,11 +143,11 @@ case $ARCH in
|
|||
# link for C++
|
||||
if [ "x${CXX}" = "xg++" ] ; then
|
||||
LINK="g++"
|
||||
elif [ "x${CXX}" = "xCC" ] ; then
|
||||
LINK="CC"
|
||||
elif [ `which c++` ] ; then
|
||||
LINK="c++"
|
||||
elif [ `which CC` ] ; then
|
||||
LINK="CC"
|
||||
elif [ `which g++` ] ; then
|
||||
elif [ `type g++` ] ; then
|
||||
LINK="g++"
|
||||
else
|
||||
echo "mklib: warning: can't find C++ comiler, trying CC."
|
||||
|
|
@ -160,6 +160,7 @@ case $ARCH in
|
|||
# use native Sun linker
|
||||
LINK="ld"
|
||||
fi
|
||||
echo "mklib: linker is " ${LINK}
|
||||
rm -f ${LIBNAME}
|
||||
${LINK} ${OPTS} -o ${LIBNAME} ${OBJECTS} ${DEPS}
|
||||
FINAL_LIBS=${LIBNAME}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue