[compiler-rt] r307443 - Update buildgo.sh to pass -isysroot on Darwin.
Kuba Mracek via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 7 14:17:30 PDT 2017
Author: kuba.brecka
Date: Fri Jul 7 14:17:29 2017
New Revision: 307443
URL: http://llvm.org/viewvc/llvm-project?rev=307443&view=rev
Log:
Update buildgo.sh to pass -isysroot on Darwin.
Modified:
compiler-rt/trunk/lib/tsan/go/buildgo.sh
Modified: compiler-rt/trunk/lib/tsan/go/buildgo.sh
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/go/buildgo.sh?rev=307443&r1=307442&r2=307443&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/go/buildgo.sh (original)
+++ compiler-rt/trunk/lib/tsan/go/buildgo.sh Fri Jul 7 14:17:29 2017
@@ -69,7 +69,7 @@ elif [ "`uname -a | grep FreeBSD`" != ""
"
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
More information about the llvm-commits
mailing list