26 lines
659 B
Diff
26 lines
659 B
Diff
diff -urN node-v0.10.29.orig/configure node-v0.10.29/configure
|
|
--- node-v0.10.29.orig/configure 2014-07-25 19:00:25.663084800 +0100
|
|
+++ node-v0.10.29/configure 2014-07-25 18:57:10.969949000 +0100
|
|
@@ -16,6 +16,11 @@
|
|
# parse our options
|
|
parser = optparse.OptionParser()
|
|
|
|
+parser.add_option("--gyp-debug",
|
|
+ action="store",
|
|
+ dest="gyp_debug",
|
|
+ help="Option passed to gyp --debug=")
|
|
+
|
|
parser.add_option("--debug",
|
|
action="store_true",
|
|
dest="debug",
|
|
@@ -721,6 +726,9 @@
|
|
else:
|
|
gyp_args += ['-f', 'make-' + flavor]
|
|
|
|
+if options.gyp_debug:
|
|
+ gyp_args += ['--debug=' + options.gyp_debug]
|
|
+
|
|
gyp_args += args
|
|
|
|
subprocess.call(gyp_args)
|