镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Commit b829a49

Browse files
gireeshpunathilFishrock123
authored andcommitted
build: enable big toc for release builds in AIX
AIX linker has a table of contents with default size 64K The recent code inclusions in V8 brings in lot of new symbols which necessitates to increase this default. Please note that the debug build already has this flag Fixes: #7500 PR-URL: #7508 Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
1 parent 5bb63e1 commit b829a49

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎common.gypi‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,7 @@
293293
'ldflags': [ '-maix64' ],
294294
}],
295295
],
296+
'ldflags': [ '-Wl,-bbigtoc' ],
296297
'ldflags!': [ '-rdynamic' ],
297298
}],
298299
[ 'node_shared=="true"', {

‎node.gyp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,7 @@
819819
'common.gypi',
820820
],
821821

822-
'ldflags': ['-Wl,-bbigtoc,-bE:<(PRODUCT_DIR)/node.exp'],
822+
'ldflags': ['-Wl,-bE:<(PRODUCT_DIR)/node.exp'],
823823
},
824824
{
825825
'target_name': 'node_exp',

0 commit comments

Comments
 (0)