From 0cd0abb18034d4508c953f323e83ea9fa0545de3 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Thu, 15 Dec 2011 18:37:31 -0500 Subject: [PATCH] crypto/tls: quiet build On a Mac, all the useful functions are deprecated. R=golang-dev, adg CC=golang-dev https://golang.org/cl/5493054 --- root_darwin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root_darwin.go b/root_darwin.go index 1512241..db1b18b 100644 --- a/root_darwin.go +++ b/root_darwin.go @@ -8,7 +8,7 @@ package tls // Note: We disable -Werror here because the code in this file uses a deprecated API to stay // compatible with both Mac OS X 10.6 and 10.7. Using a deprecated function on Darwin generates // a warning. -#cgo CFLAGS: -Wno-error +#cgo CFLAGS: -Wno-error -Wno-deprecated-declarations #cgo LDFLAGS: -framework CoreFoundation -framework Security #include #include