diff -r 28b50d07f6f8 -r 710a3c8b516e agent/make/saenv.sh --- a/agent/make/saenv.sh Mon Sep 08 12:35:01 2014 -0700 +++ b/agent/make/saenv.sh Tue Aug 08 15:57:29 2017 +0800 @@ -23,6 +23,12 @@ # # +# +# This file has been modified by Loongson Technology in 2015. These +# modifications are Copyright (c) 2015 Loongson Technology, and are made +# available on the same license terms set forth above. +# + # This file sets common environment variables for all SA scripts OS=`uname` @@ -42,6 +48,10 @@ SA_LIBPATH=$STARTDIR/../src/os/linux/amd64:$STARTDIR/linux/amd64 OPTIONS="-Dsa.library.path=$SA_LIBPATH" CPU=amd64 + elif [ "$ARCH" = "mips64" ] ; then + SA_LIBPATH=$STARTDIR/../src/os/linux/mips:$STARTDIR/linux/mips + OPTIONS="-Dsa.library.path=$SA_LIBPATH" + CPU=mips else SA_LIBPATH=$STARTDIR/../src/os/linux/i386:$STARTDIR/linux/i386 OPTIONS="-Dsa.library.path=$SA_LIBPATH"