blob: a9eae14902a714ef5350b28a1f82b459600635e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
require 'mkmf'
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/generator'
|