projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae60a4a
)
[tsan][go] Fix buildgo.sh when GOAMD64 undefined
author
Vitaly Buka
<vitalybuka@google.com>
Tue, 6 Sep 2022 20:00:57 +0000
(13:00 -0700)
committer
Vitaly Buka
<vitalybuka@google.com>
Tue, 6 Sep 2022 20:02:11 +0000
(13:02 -0700)
compiler-rt/lib/tsan/go/buildgo.sh
patch
|
blob
|
history
diff --git
a/compiler-rt/lib/tsan/go/buildgo.sh
b/compiler-rt/lib/tsan/go/buildgo.sh
index
ba9aff2
..
a53bd0f
100755
(executable)
--- a/
compiler-rt/lib/tsan/go/buildgo.sh
+++ b/
compiler-rt/lib/tsan/go/buildgo.sh
@@
-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"