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:
parent
e038c0c301
commit
bc53c63a47
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue