Mon, 22 Jul 2019 18:48:55 +0800
#9509 [testbug] fixed the CFLAGS of MIPS in runtime/StackGap/testme.sh
Reviewed-by: aoqi
test/runtime/StackGap/testme.sh | file | annotate | diff | comparison | revisions |
1.1 --- a/test/runtime/StackGap/testme.sh Mon Jul 22 17:58:23 2019 +0800 1.2 +++ b/test/runtime/StackGap/testme.sh Mon Jul 22 18:48:55 2019 +0800 1.3 @@ -49,7 +49,13 @@ 1.4 exit 0; 1.5 fi 1.6 1.7 -CFLAGS="-m${VM_BITS}" 1.8 +echo ${VM_CPU} | grep -q "mips" 1.9 +if [ $? = 0 ] 1.10 +then 1.11 + CFLAGS="-mabi=${VM_BITS}" 1.12 +else 1.13 + CFLAGS="-m${VM_BITS}" 1.14 +fi 1.15 1.16 LD_LIBRARY_PATH=.:${COMPILEJAVA}/jre/lib/${VM_CPU}/${VM_TYPE}:/usr/lib:$LD_LIBRARY_PATH 1.17 export LD_LIBRARY_PATH