aboutsummaryrefslogtreecommitdiffstats
path: root/ext/openssl/deprecation.rb
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2017-03-03 15:28:39 +0900
committerKazuki Yamaguchi <k@rhe.jp>2017-03-03 15:28:39 +0900
commit67b500eb9c332113567c477ccafaea067e357ffb (patch)
tree2c796a2c999e0e09b4cc8e509cab6d8c445fcc67 /ext/openssl/deprecation.rb
parenta7bbd590c66d40bd662502df9c65474e85b5f03f (diff)
downloadruby-openssl-67b500eb9c332113567c477ccafaea067e357ffb.tar.gz
ext/openssl/deprecation.rb: remove broken-apple-openssl
The version bundled with macOS is anyway too old to compile the extension.
Diffstat (limited to 'ext/openssl/deprecation.rb')
-rw-r--r--ext/openssl/deprecation.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/openssl/deprecation.rb b/ext/openssl/deprecation.rb
index 7dfc87c1..1d51d065 100644
--- a/ext/openssl/deprecation.rb
+++ b/ext/openssl/deprecation.rb
@@ -3,9 +3,6 @@ module OpenSSL
def self.deprecated_warning_flag
unless flag = (@deprecated_warning_flag ||= nil)
if try_compile("", flag = "-Werror=deprecated-declarations")
- if with_config("broken-apple-openssl")
- flag = "-Wno-deprecated-declarations"
- end
$warnflags << " #{flag}"
else
flag = ""