From: Ryan Dahl Date: Fri, 21 Jan 2011 03:07:15 +0000 (-0800) Subject: waf: display oprofile and gdbjit options for all platforms X-Git-Tag: v0.3.6~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=86e687086b7a7fd452b941c454f1f86b2063c571;p=platform%2Fupstream%2Fnodejs.git waf: display oprofile and gdbjit options for all platforms was breaking mac --- diff --git a/wscript b/wscript index 2bda367..8fb475a 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'