1
0
Fork 0
mirror of https://github.com/rubyjs/therubyracer synced 2023-03-27 23:21:42 -04:00

enable a debug configuration for extension

This commit is contained in:
Charles Lowell 2012-08-01 01:12:23 +03:00
parent e038c0c301
commit bc53c63a47

View file

@ -13,7 +13,9 @@ if CONFIG['warnflags']
CONFIG['warnflags'].gsub!('-Wdeclaration-after-statement', '')
CONFIG['warnflags'].gsub!('-Wimplicit-function-declaration', '')
end
if enable_config('debug')
$CFLAGS += " -O0 -ggdb3"
end
if have_rubygem_libv8?
build_with_rubygem_libv8
else