summaryrefslogtreecommitdiff
path: root/ext/digest/rmd160
diff options
context:
space:
mode:
Diffstat (limited to 'ext/digest/rmd160')
-rw-r--r--ext/digest/rmd160/extconf.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/digest/rmd160/extconf.rb b/ext/digest/rmd160/extconf.rb
index cc361e3d2bd..8d8cdee6bab 100644
--- a/ext/digest/rmd160/extconf.rb
+++ b/ext/digest/rmd160/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/rmd160")