waf: display oprofile and gdbjit options for all platforms

was breaking mac
This commit is contained in:
Ryan Dahl 2011-01-20 19:07:15 -08:00
parent 6eca6b1ec0
commit 86e687086b

25
wscript
View File

@ -100,20 +100,19 @@ def set_options(opt):
, dest='shared_v8_libname' , dest='shared_v8_libname'
) )
if sys.platform.startswith("linux"): opt.add_option( '--oprofile'
opt.add_option( '--oprofile' , action='store_true'
, action='store_true' , default=False
, default=False , help="add oprofile support"
, help="add oprofile support" , dest='use_oprofile'
, dest='use_oprofile' )
)
opt.add_option( '--gdb' opt.add_option( '--gdb'
, action='store_true' , action='store_true'
, default=False , default=False
, help="add gdb support" , help="add gdb support"
, dest='use_gdbjit' , dest='use_gdbjit'
) )
opt.add_option('--shared-cares' opt.add_option('--shared-cares'