ext/patron/extconf.rb in patron-0.4.16 vs ext/patron/extconf.rb in patron-0.4.17
- old
+ new
@@ -38,11 +38,12 @@
options to extconf.
EOM
end
if CONFIG['CC'] =~ /gcc/
- $CFLAGS << ' -Wall'
+ $CFLAGS << ' -pedantic -Wall'
end
+$defs.push("-DUSE_TBR")
$defs.push("-DHAVE_TBR") if have_func('rb_thread_blocking_region')
create_makefile 'patron/session_ext'