diff options
Diffstat (limited to 'ext/json/generator/extconf.rb')
-rw-r--r-- | ext/json/generator/extconf.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/ext/json/generator/extconf.rb b/ext/json/generator/extconf.rb index 149f22c13b..b94f71e8b3 100644 --- a/ext/json/generator/extconf.rb +++ b/ext/json/generator/extconf.rb @@ -1,16 +1,6 @@ require 'mkmf' require 'rbconfig' -unless $CFLAGS.gsub!(/ -O[\dsz]?/, ' -O3') - $CFLAGS << ' -O3' -end -if CONFIG['CC'] =~ /gcc/ - $CFLAGS << ' -Wall' - #unless $CFLAGS.gsub!(/ -O[\dsz]?/, ' -O0 -ggdb') - # $CFLAGS << ' -O0 -ggdb' - #end -end - if RUBY_VERSION < "1.9" have_header("re.h") else |