From: Russ Cox Date: Thu, 15 Dec 2011 23:37:31 +0000 (-0500) Subject: crypto/tls: quiet build X-Git-Tag: weekly.2011-12-22~162 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=6699aa4aeea17acb4751f1bdbf259e16f9ad0033;p=gostls13.git 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 --- diff --git a/src/pkg/crypto/tls/root_darwin.go b/src/pkg/crypto/tls/root_darwin.go index 15122416bd..db1b18b3c0 100644 --- a/src/pkg/crypto/tls/root_darwin.go +++ b/src/pkg/crypto/tls/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