help="Specifies which floating-point ABI to use. Valid values are: "
"soft, softfp, hard")
+parser.add_option("--ninja",
+ action="store_true",
+ dest="use_ninja",
+ help="Generate files for the ninja build system")
+
+ # Using --unsafe-optimizations voids your warranty.
+ parser.add_option("--unsafe-optimizations",
+ action="store_true",
+ dest="unsafe_optimizations",
+ help=optparse.SUPPRESS_HELP)
+
(options, args) = parser.parse_args()
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)
- o['variables']['node_install_waf'] = b(not options.without_waf)
+ o['variables']['node_unsafe_optimizations'] = (
+ 1 if options.unsafe_optimizations else 0)
o['default_configuration'] = 'Debug' if options.debug else 'Release'
host_arch = host_arch_win() if os.name == 'nt' else host_arch_cc()