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:
88de3d7
)
[TSan] Fix remaining bashism in buildgo.sh script.
author
Alexey Samsonov
<vonosmas@gmail.com>
Mon, 2 Feb 2015 23:14:46 +0000
(23:14 +0000)
committer
Alexey Samsonov
<vonosmas@gmail.com>
Mon, 2 Feb 2015 23:14:46 +0000
(23:14 +0000)
llvm-svn: 227893
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
e6f539e
..
e00408c
100755
(executable)
--- a/
compiler-rt/lib/tsan/go/buildgo.sh
+++ b/
compiler-rt/lib/tsan/go/buildgo.sh
@@
-1,3
+1,5
@@
+#!/bin/sh
+
set -e
SRCS="
@@
-109,7
+111,7
@@
for F in $SRCS; do
done
FLAGS=" -I../rtl -I../.. -I../../sanitizer_common -I../../../include -std=c++11 -m64 -Wall -fno-exceptions -fno-rtti -DSANITIZER_GO -DSANITIZER_DEADLOCK_DETECTOR_VERSION=2 $OSCFLAGS"
-if [ "$DEBUG" =
=
"" ]; then
+if [ "$DEBUG" = "" ]; then
FLAGS="$FLAGS -DSANITIZER_DEBUG=0 -O3 -msse3 -fomit-frame-pointer"
else
FLAGS="$FLAGS -DSANITIZER_DEBUG=1 -g"