summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-11-08 09:02:59 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-11-08 09:02:59 +0000
commit4d36509054e578020de975e01167a8a041b2cf27 (patch)
treeadef4b56564be2ae94ee40d78d729570060f7f38 /ext
parent6bb4ddcba58fa225d092223c33403a78441be5cc (diff)
downloadruby-4d36509054e578020de975e01167a8a041b2cf27.tar.gz
* ext/-test-/old_thread_select/extconf.rb: ignore deprecated
declaration warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/-test-/old_thread_select/extconf.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/-test-/old_thread_select/extconf.rb b/ext/-test-/old_thread_select/extconf.rb
index 8b410218fa..730d9ec901 100644
--- a/ext/-test-/old_thread_select/extconf.rb
+++ b/ext/-test-/old_thread_select/extconf.rb
@@ -1 +1,4 @@
+$warnflags = "-Wno-deprecated-declarations"
+$warnflags = "" unless try_compile("", $warnflags)
+
create_makefile("-test-/old_thread_select/old_thread_select")