forked from OSchip/llvm-project
Update buildgo.sh to pass -isysroot on Darwin.
llvm-svn: 307443
This commit is contained in:
parent
317104183d
commit
afbde43a8f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue