summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2011-01-20 19:07:15 -0800
committerRyan Dahl <ry@tinyclouds.org>2011-01-20 19:07:19 -0800
commit86e687086b7a7fd452b941c454f1f86b2063c571 (patch)
tree9f6e4b9e2c4f93849ec17a7dfad3ac2841167b31 /wscript
parent6eca6b1ec05c5b386121a992dc7f6502f001f052 (diff)
downloadnode-new-86e687086b7a7fd452b941c454f1f86b2063c571.tar.gz
waf: display oprofile and gdbjit options for all platforms
was breaking mac
Diffstat (limited to 'wscript')
-rw-r--r--wscript27
1 files changed, 13 insertions, 14 deletions
diff --git a/wscript b/wscript
index 2bda36755c..8fb475ac98 100644
--- a/wscript
+++ b/wscript
@@ -100,20 +100,19 @@ def set_options(opt):
, dest='shared_v8_libname'
)
- if sys.platform.startswith("linux"):
- opt.add_option( '--oprofile'
- , action='store_true'
- , default=False
- , help="add oprofile support"
- , dest='use_oprofile'
- )
-
- opt.add_option( '--gdb'
- , action='store_true'
- , default=False
- , help="add gdb support"
- , dest='use_gdbjit'
- )
+ opt.add_option( '--oprofile'
+ , action='store_true'
+ , default=False
+ , help="add oprofile support"
+ , dest='use_oprofile'
+ )
+
+ opt.add_option( '--gdb'
+ , action='store_true'
+ , default=False
+ , help="add gdb support"
+ , dest='use_gdbjit'
+ )
opt.add_option('--shared-cares'