summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/tsan/go
diff options
context:
space:
mode:
authorKuba Mracek <mracek@apple.com>2017-07-07 21:17:29 +0000
committerKuba Mracek <mracek@apple.com>2017-07-07 21:17:29 +0000
commitafbde43a8fe3a6b601a32b04c648bad09109e6c8 (patch)
tree0e968646b124b7709c93ec1417f02a1cc2c26b63 /compiler-rt/lib/tsan/go
parent317104183dfb03d9b9a4fb0dc607d079c7303cec (diff)
downloadbcm5719-llvm-afbde43a8fe3a6b601a32b04c648bad09109e6c8.tar.gz
bcm5719-llvm-afbde43a8fe3a6b601a32b04c648bad09109e6c8.zip
Update buildgo.sh to pass -isysroot on Darwin.
llvm-svn: 307443
Diffstat (limited to 'compiler-rt/lib/tsan/go')
-rwxr-xr-xcompiler-rt/lib/tsan/go/buildgo.sh2
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 59176809eae..617dd9e11d2 100755
--- a/compiler-rt/lib/tsan/go/buildgo.sh
+++ b/compiler-rt/lib/tsan/go/buildgo.sh
@@ -69,7 +69,7 @@ elif [ "`uname -a | grep FreeBSD`" != "" ]; then
"
elif [ "`uname -a | grep Darwin`" != "" ]; then
SUFFIX="darwin_amd64"
- OSCFLAGS="-fPIC -Wno-unused-const-variable -Wno-unknown-warning-option -mmacosx-version-min=10.7"
+ OSCFLAGS="-fPIC -Wno-unused-const-variable -Wno-unknown-warning-option -isysroot $(xcodebuild -version -sdk macosx Path) -mmacosx-version-min=10.7"
OSLDFLAGS="-lpthread -fPIC -fpie -mmacosx-version-min=10.7"
SRCS="
$SRCS
OpenPOWER on IntegriCloud