[tsan][go] Fix buildgo.sh when GOAMD64 undefined

This commit is contained in:
Vitaly Buka 2022-09-06 13:00:57 -07:00
parent ae60a4a0ef
commit 4a0b18c2cd
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ if [ "`uname -a | grep Linux`" != "" ]; then
ARCHCFLAGS="-m64 -mcpu=power8 -fno-function-sections"
elif [ "`uname -a | grep x86_64`" != "" ]; then
SUFFIX="linux_amd64"
if [ $GOAMD64 == "v3" ]; then
if [ "$GOAMD64" == "v3" ]; then
ARCHCFLAGS="-m64 -msse4.2"
else
ARCHCFLAGS="-m64 -msse3"