summaryrefslogtreecommitdiff
path: root/ext/json/ext/parser/extconf.rb
diff options
context:
space:
mode:
authorZachary Scott <e@zzak.io>2014-12-25 15:43:37 -0500
committerZachary Scott <e@zzak.io>2014-12-25 15:43:37 -0500
commit18b3000090d1044425d369a58ebe52f5342b9699 (patch)
treebf0bd35737237b5f178461c969c017fa39a5f51c /ext/json/ext/parser/extconf.rb
parent17fe8e72f484e65e0c36670946934d1f8696e37b (diff)
downloadjson-18b3000090d1044425d369a58ebe52f5342b9699.tar.gz
Sync with trunk
Diffstat (limited to 'ext/json/ext/parser/extconf.rb')
-rw-r--r--ext/json/ext/parser/extconf.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/ext/json/ext/parser/extconf.rb b/ext/json/ext/parser/extconf.rb
index 4791829..ae4f861 100644
--- a/ext/json/ext/parser/extconf.rb
+++ b/ext/json/ext/parser/extconf.rb
@@ -1,13 +1,3 @@
require 'mkmf'
-unless $CFLAGS.gsub!(/ -O[\dsz]?/, ' -O3')
- $CFLAGS << ' -O3'
-end
-if CONFIG['CC'] =~ /gcc/
- $CFLAGS << ' -Wall'
- if $DEBUG && !$CFLAGS.gsub!(/ -O[\dsz]?/, ' -O0 -ggdb')
- $CFLAGS << ' -O0 -ggdb'
- end
-end
-
create_makefile 'json/ext/parser'