summaryrefslogtreecommitdiff
path: root/ext/digest/md5/extconf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/digest/md5/extconf.rb')
-rw-r--r--ext/digest/md5/extconf.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/digest/md5/extconf.rb b/ext/digest/md5/extconf.rb
index ddfdb707f29..803741a6d91 100644
--- a/ext/digest/md5/extconf.rb
+++ b/ext/digest/md5/extconf.rb
@@ -22,4 +22,7 @@ have_header("sys/cdefs.h")
$preload = %w[digest]
+if try_compile("", flag = " -Wno-deprecated-declarations")
+ $warnflags << flag
+end
create_makefile("digest/md5")