build: re-enable gdbjit, honor --gdb again
authorBen Noordhuis <info@bnoordhuis.nl>
Tue, 23 Oct 2012 15:38:41 +0000 (17:38 +0200)
committerBen Noordhuis <info@bnoordhuis.nl>
Tue, 23 Oct 2012 15:43:38 +0000 (17:43 +0200)
Note that you need to start node with --gdbjit for it to become effective.

configure

index 7c2550f..1f13434 100755 (executable)
--- a/configure
+++ b/configure
@@ -340,7 +340,7 @@ def configure_arm(o):
 
 
 def configure_node(o):
-  # TODO add gdb
+  o['variables']['v8_enable_gdbjit'] = 1 if options.gdb else 0
   o['variables']['v8_no_strict_aliasing'] = 1 # work around compiler bugs
   o['variables']['node_prefix'] = os.path.expanduser(options.prefix or '')
   o['variables']['node_install_npm'] = b(not options.without_npm)