diff options
author | Dmitry Vyukov <dvyukov@google.com> | 2015-11-12 11:54:25 +0000 |
---|---|---|
committer | Dmitry Vyukov <dvyukov@google.com> | 2015-11-12 11:54:25 +0000 |
commit | 110094017ce85435ab55207efdb4aab4ad95a16d (patch) | |
tree | 97c78cf81701d92a5a5a1607b904ed1799d51659 /compiler-rt/lib/tsan/go | |
parent | ba85da8482315fa1f5c364120004cd20dfa5c365 (diff) | |
download | bcm5719-llvm-110094017ce85435ab55207efdb4aab4ad95a16d.tar.gz bcm5719-llvm-110094017ce85435ab55207efdb4aab4ad95a16d.zip |
tsan: fix Go build on linux
librt is not linked in in Go build.
llvm-svn: 252877
Diffstat (limited to 'compiler-rt/lib/tsan/go')
-rwxr-xr-x | compiler-rt/lib/tsan/go/buildgo.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/tsan/go/buildgo.sh b/compiler-rt/lib/tsan/go/buildgo.sh index a7e12f18c3c..f31b7dad53e 100755 --- a/compiler-rt/lib/tsan/go/buildgo.sh +++ b/compiler-rt/lib/tsan/go/buildgo.sh @@ -36,7 +36,7 @@ SRCS=" if [ "`uname -a | grep Linux`" != "" ]; then SUFFIX="linux_amd64" OSCFLAGS="-fPIC -ffreestanding -Wno-maybe-uninitialized -Wno-unused-const-variable -Werror -Wno-unknown-warning-option" - OSLDFLAGS="-lpthread -lrt -fPIC -fpie" + OSLDFLAGS="-lpthread -fPIC -fpie" SRCS=" $SRCS ../rtl/tsan_platform_linux.cc |