Permalink
Browse files

Support object class with duck type hash

  • Loading branch information...
flori committed Dec 20, 2011
1 parent 3c7c292 commit eacb6564c05ff7428bcbb3c34f72655b1b5d6ca3
@@ -5,9 +5,9 @@
end
if CONFIG['CC'] =~ /gcc/
$CFLAGS << ' -Wall'
- #unless $CFLAGS.gsub!(/ -O[\dsz]?/, ' -O0 -ggdb')
- # $CFLAGS << ' -O0 -ggdb'
- #end
+ unless $DEBUG && !$CFLAGS.gsub!(/ -O[\dsz]?/, ' -O0 -ggdb')
+ $CFLAGS << ' -O0 -ggdb'
+ end
end
create_makefile 'json/ext/generator'
@@ -5,9 +5,9 @@
end
if CONFIG['CC'] =~ /gcc/
$CFLAGS << ' -Wall'
- #unless $CFLAGS.gsub!(/ -O[\dsz]?/, ' -O0 -ggdb')
- # $CFLAGS << ' -O0 -ggdb'
- #end
+ if $DEBUG && !$CFLAGS.gsub!(/ -O[\dsz]?/, ' -O0 -ggdb')
+ $CFLAGS << ' -O0 -ggdb'
+ end
end
create_makefile 'json/ext/parser'
Oops, something went wrong.

0 comments on commit eacb656

Please sign in to comment.