diff options
Diffstat (limited to 'ext/json/ext/parser/extconf.rb')
-rw-r--r-- | ext/json/ext/parser/extconf.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/json/ext/parser/extconf.rb b/ext/json/ext/parser/extconf.rb index b56c4e66d7..e790f6caae 100644 --- a/ext/json/ext/parser/extconf.rb +++ b/ext/json/ext/parser/extconf.rb @@ -1,7 +1,7 @@ require 'mkmf' require 'rbconfig' -if CONFIG['CC'] =~ /gcc/ +if CONFIG['GCC'] == 'yes' $CFLAGS += ' -Wall' #$CFLAGS += ' -O0 -ggdb' end |