diff options
author | Florian Frank <flori@ping.de> | 2011-12-21 14:01:21 +0100 |
---|---|---|
committer | Florian Frank <flori@ping.de> | 2011-12-21 14:01:21 +0100 |
commit | 8e62190df53c9d120219a88e113a5588d2f5cd58 (patch) | |
tree | b04ef57befa04abe8a8fbe33f1b82e489886f11d /ext/json/ext/parser/extconf.rb | |
parent | 60ef7adb347b473cbcce9aacacb2943ae5fb4d4c (diff) | |
parent | 357aaaa3d96c5a42c567331abf5f41e8274ccb5b (diff) | |
download | json-8e62190df53c9d120219a88e113a5588d2f5cd58.tar.gz |
Merge branch 'master' into merge-master-into-MagLev-mastermerge-master-into-MagLev-master
Conflicts:
ext/json/ext/parser/parser.c
Diffstat (limited to 'ext/json/ext/parser/extconf.rb')
-rw-r--r-- | ext/json/ext/parser/extconf.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/json/ext/parser/extconf.rb b/ext/json/ext/parser/extconf.rb index b09f122..4791829 100644 --- a/ext/json/ext/parser/extconf.rb +++ b/ext/json/ext/parser/extconf.rb @@ -5,9 +5,9 @@ unless $CFLAGS.gsub!(/ -O[\dsz]?/, ' -O3') 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' |