diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-02-27 01:48:52 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-02-27 01:48:52 +0000 |
commit | 4c12eb747e36b99fc3831bf1d8ffca1777581870 (patch) | |
tree | 1c6569d39b024ba8f9e68d836c0b70b097a200ae /ext/digest/sha1 | |
parent | a77ea177fe6609137c677d2c33453467eaea30df (diff) | |
download | ruby-4c12eb747e36b99fc3831bf1d8ffca1777581870.tar.gz |
* ext/openssl/extconf.rb: suppress useless deprecation warnings
from OpenSSL added by Apple.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/digest/sha1')
-rw-r--r-- | ext/digest/sha1/extconf.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/digest/sha1/extconf.rb b/ext/digest/sha1/extconf.rb index fa9945cd43..77a4b2b847 100644 --- a/ext/digest/sha1/extconf.rb +++ b/ext/digest/sha1/extconf.rb @@ -21,4 +21,7 @@ have_header("sys/cdefs.h") $preload = %w[digest] +if try_compile("", flag = " -Wno-deprecated-declarations") + $warnflags << flag +end create_makefile("digest/sha1") |