Skip to content

Commit d80432d

Browse files
gireeshpunathilmhdawson
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 <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]>
1 parent 475dc43 commit d80432d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

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
@@ -815,7 +815,7 @@
815815
'common.gypi',
816816
],
817817

818-
'ldflags': ['-Wl,-bbigtoc,-bE:<(PRODUCT_DIR)/node.exp'],
818+
'ldflags': ['-Wl,-bE:<(PRODUCT_DIR)/node.exp'],
819819
},
820820
{
821821
'target_name': 'node_exp',

0 commit comments

Comments
 (0)