ext/bindex/extconf.rb in bindex-0.1.1 vs ext/bindex/extconf.rb in bindex-0.2.0
- old
+ new
@@ -15,9 +15,10 @@
when /2\.1\.*/
$CFLAGS << " -D RUBY_21"
$INCFLAGS << " -I./ruby_21/"
end
+ $CFLAGS << " -Wall"
$CFLAGS << " -g3 -O0" if ENV["DEBUG"]
create_makefile("bindex/cruby")
else
IO.write(File.expand_path("../Makefile", __FILE__), <<-END)