mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 13:48:44 +02:00
build: run mkcodecache
as an action
* fix test-code-cache (for the common cases) * deprecate `configure --code-cache-path` PR-URL: https://github.com/nodejs/node/pull/27161 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
This commit is contained in:
parent
5ac0308af9
commit
14df42fd00
9 changed files with 97 additions and 148 deletions
26
node.gypi
26
node.gypi
|
@ -143,8 +143,8 @@
|
|||
'conditions': [
|
||||
['OS!="aix" and node_shared=="false"', {
|
||||
'ldflags': [
|
||||
'-Wl,--whole-archive,<(obj_dir)/deps/zlib/<(STATIC_LIB_PREFIX)'
|
||||
'zlib<(STATIC_LIB_SUFFIX)',
|
||||
'-Wl,--whole-archive,'
|
||||
'<(obj_dir)/deps/zlib/<(STATIC_LIB_PREFIX)zlib<(STATIC_LIB_SUFFIX)',
|
||||
'-Wl,--no-whole-archive',
|
||||
],
|
||||
}],
|
||||
|
@ -184,8 +184,8 @@
|
|||
'conditions': [
|
||||
['OS!="aix" and node_shared=="false"', {
|
||||
'ldflags': [
|
||||
'-Wl,--whole-archive,<(obj_dir)/deps/uv/<(STATIC_LIB_PREFIX)'
|
||||
'uv<(STATIC_LIB_SUFFIX)',
|
||||
'-Wl,--whole-archive,'
|
||||
'<(obj_dir)/deps/uv/<(STATIC_LIB_PREFIX)uv<(STATIC_LIB_SUFFIX)',
|
||||
'-Wl,--no-whole-archive',
|
||||
],
|
||||
}],
|
||||
|
@ -223,27 +223,33 @@
|
|||
[ 'OS=="aix"', {
|
||||
'defines': [
|
||||
'_LINUX_SOURCE_COMPAT',
|
||||
'__STDC_FORMAT_MACROS'
|
||||
'__STDC_FORMAT_MACROS',
|
||||
],
|
||||
'conditions': [
|
||||
[ 'force_load=="true"', {
|
||||
|
||||
'variables': {
|
||||
'exp_filename': '<(PRODUCT_DIR)/<(_target_name).exp',
|
||||
},
|
||||
'actions': [
|
||||
{
|
||||
'action_name': 'expfile',
|
||||
'inputs': [
|
||||
'<(obj_dir)'
|
||||
'<(obj_dir)',
|
||||
],
|
||||
'outputs': [
|
||||
'<(PRODUCT_DIR)/node.exp'
|
||||
'<(exp_filename)',
|
||||
],
|
||||
'action': [
|
||||
'sh', 'tools/create_expfile.sh',
|
||||
'<@(_inputs)', '<@(_outputs)'
|
||||
'<@(_inputs)',
|
||||
'<@(_outputs)',
|
||||
],
|
||||
}
|
||||
],
|
||||
'ldflags': ['-Wl,-bE:<(PRODUCT_DIR)/node.exp', '-Wl,-brtl'],
|
||||
'ldflags': [
|
||||
'-Wl,-bE:<(exp_filename)',
|
||||
'-Wl,-brtl',
|
||||
],
|
||||
}],
|
||||
],
|
||||
}],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue