Sha256: 4b45432ab156fddc493b0e7814e6cd1c6d739ad0d87128651754f04c4cbce2b9

Contents?: true

Size: 296 Bytes

Versions: 206

Compression:

Stored size: 296 Bytes

Contents

require 'mkmf'

unless $CFLAGS.gsub!(/ -O[\dsz]?/, ' -O3')
  $CFLAGS << ' -O3'
end
if CONFIG['CC'] =~ /gcc/
  $CFLAGS << ' -Wall'
  unless $DEBUG && !$CFLAGS.gsub!(/ -O[\dsz]?/, ' -O0 -ggdb')
    $CFLAGS << ' -O0 -ggdb'
  end
end

$defs << "-DJSON_GENERATOR"
create_makefile 'json/ext/generator'

Version data entries

206 entries across 178 versions & 31 rubygems

Version Path
json_pure-1.7.3 ext/json/ext/generator/extconf.rb
json-1.7.3 ext/json/ext/generator/extconf.rb
json_pure-1.7.2 ext/json/ext/generator/extconf.rb
json-1.7.2 ext/json/ext/generator/extconf.rb
json_pure-1.7.1 ext/json/ext/generator/extconf.rb
json-1.7.1 ext/json/ext/generator/extconf.rb