diff options
Diffstat (limited to 'ext/digest/sha1/extconf.rb')
-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") |