tsan: remove duplicate arch switch in buildgo.sh
authorDmitry Vyukov <dvyukov@google.com>
Mon, 19 Jul 2021 13:51:08 +0000 (15:51 +0200)
committerDmitry Vyukov <dvyukov@google.com>
Mon, 19 Jul 2021 15:19:17 +0000 (17:19 +0200)
commit7f67263d56a0f5c1ebc9f576502f667d7d34c685
tree1f6acef988c2ea0b950e4156bccbc25dcd7c655b
parent77bb82d068568a950f196e62beaa88fb08c57232
tsan: remove duplicate arch switch in buildgo.sh

For some reason we have 2 switches on arch and add
half of arch flags in one place and half in another.
Merge these 2 switches.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D106274
compiler-rt/lib/tsan/go/buildgo.sh