diff options
author | Kuba Mracek <mracek@apple.com> | 2017-07-07 21:17:29 +0000 |
---|---|---|
committer | Kuba Mracek <mracek@apple.com> | 2017-07-07 21:17:29 +0000 |
commit | afbde43a8fe3a6b601a32b04c648bad09109e6c8 (patch) | |
tree | 0e968646b124b7709c93ec1417f02a1cc2c26b63 /compiler-rt/lib/tsan/go | |
parent | 317104183dfb03d9b9a4fb0dc607d079c7303cec (diff) | |
download | bcm5719-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-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 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 |