[PATCH] D20670: [tsan] On OS X, build Go runtime with -mmacosx-version-min

Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 5 08:22:14 PDT 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL271833: [tsan] On OS X, build Go runtime with -mmacosx-version-min (authored by kuba.brecka).

Changed prior to commit:
  http://reviews.llvm.org/D20670?vs=59023&id=59666#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D20670

Files:
  compiler-rt/trunk/lib/tsan/go/buildgo.sh

Index: compiler-rt/trunk/lib/tsan/go/buildgo.sh
===================================================================
--- compiler-rt/trunk/lib/tsan/go/buildgo.sh
+++ compiler-rt/trunk/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.59666.patch
Type: text/x-patch
Size: 622 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160605/b8cd620f/attachment.bin>


More information about the llvm-commits mailing list