mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/json: Update to JSON 1.4.1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9372cdb80a
commit
54592ad627
26 changed files with 2434 additions and 1814 deletions
14
ext/json/parser/extconf.rb
Normal file
14
ext/json/parser/extconf.rb
Normal file
|
@ -0,0 +1,14 @@
|
|||
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
|
||||
|
||||
create_makefile 'json/ext/parser'
|
Loading…
Add table
Add a link
Reference in a new issue