build: remove unused vars from configure
PR-URL: https://github.com/nodejs/node/pull/18206 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
parent
45307fde5c
commit
fe94394b99
5
configure
vendored
5
configure
vendored
@ -899,8 +899,6 @@ def configure_node(o):
|
|||||||
if options.systemtap_includes:
|
if options.systemtap_includes:
|
||||||
o['include_dirs'] += [options.systemtap_includes]
|
o['include_dirs'] += [options.systemtap_includes]
|
||||||
o['variables']['node_use_dtrace'] = b(use_dtrace)
|
o['variables']['node_use_dtrace'] = b(use_dtrace)
|
||||||
o['variables']['uv_use_dtrace'] = b(use_dtrace)
|
|
||||||
o['variables']['uv_parent_path'] = '/deps/uv/'
|
|
||||||
elif options.with_dtrace:
|
elif options.with_dtrace:
|
||||||
raise Exception(
|
raise Exception(
|
||||||
'DTrace is currently only supported on SunOS, MacOS or Linux systems.')
|
'DTrace is currently only supported on SunOS, MacOS or Linux systems.')
|
||||||
@ -977,7 +975,6 @@ def configure_node(o):
|
|||||||
o['variables']['library_files'] = options.linked_module
|
o['variables']['library_files'] = options.linked_module
|
||||||
|
|
||||||
o['variables']['asan'] = int(options.enable_asan or 0)
|
o['variables']['asan'] = int(options.enable_asan or 0)
|
||||||
o['variables']['debug_devtools'] = 'node'
|
|
||||||
|
|
||||||
if options.use_xcode and options.use_ninja:
|
if options.use_xcode and options.use_ninja:
|
||||||
raise Exception('--xcode and --ninja cannot be used together.')
|
raise Exception('--xcode and --ninja cannot be used together.')
|
||||||
@ -1356,8 +1353,6 @@ def configure_intl(o):
|
|||||||
# this is the input '.dat' file to use .. icudt*.dat
|
# this is the input '.dat' file to use .. icudt*.dat
|
||||||
# may be little-endian if from a icu-project.org tarball
|
# may be little-endian if from a icu-project.org tarball
|
||||||
o['variables']['icu_data_in'] = icu_data_in
|
o['variables']['icu_data_in'] = icu_data_in
|
||||||
# this is the icudt*.dat file which node will be using (platform endianness)
|
|
||||||
o['variables']['icu_data_file'] = icu_data_file
|
|
||||||
if not os.path.isfile(icu_data_path):
|
if not os.path.isfile(icu_data_path):
|
||||||
print('Error: ICU prebuilt data file %s does not exist.' % icu_data_path)
|
print('Error: ICU prebuilt data file %s does not exist.' % icu_data_path)
|
||||||
print('See the README.md.')
|
print('See the README.md.')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user