[PATCH] D20670: [tsan] On OS X, build Go runtime with -mmacosx-version-min
Kuba Brecka via llvm-commits
llvm-commits at lists.llvm.org
Tue May 31 01:48:39 PDT 2016
kubabrecka updated this revision to Diff 59023.
http://reviews.llvm.org/D20670
Files:
lib/tsan/go/buildgo.sh
Index: lib/tsan/go/buildgo.sh
===================================================================
--- lib/tsan/go/buildgo.sh
+++ lib/tsan/go/buildgo.sh
@@ -68,8 +68,8 @@
"
elif [ "`uname -a | grep Darwin`" != "" ]; then
SUFFIX="darwin_amd64"
- OSCFLAGS="-fPIC -Wno-unused-const-variable -Wno-unknown-warning-option"
- OSLDFLAGS="-lpthread -fPIC -fpie"
+ OSCFLAGS="-fPIC -Wno-unused-const-variable -Wno-unknown-warning-option -mmacosx-version-min=10.7"
+ OSLDFLAGS="-lpthread -fPIC -fpie -mmacosx-version-min=10.7"
SRCS="
$SRCS
../rtl/tsan_platform_mac.cc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20670.59023.patch
Type: text/x-patch
Size: 568 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160531/8e3bab38/attachment.bin>
More information about the llvm-commits
mailing list