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: https://github.com/nodejs/node/issues/7500
PR-URL: https://github.com/nodejs/node/pull/7508
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
This commit is contained in:
Gireesh Punathil 2016-07-04 05:11:10 -04:00 committed by Michael Dawson
parent 475dc439e2
commit d80432db76
2 changed files with 2 additions and 1 deletions

View File

@ -293,6 +293,7 @@
'ldflags': [ '-maix64' ],
}],
],
'ldflags': [ '-Wl,-bbigtoc' ],
'ldflags!': [ '-rdynamic' ],
}],
[ 'node_shared=="true"', {

View File

@ -815,7 +815,7 @@
'common.gypi',
],
'ldflags': ['-Wl,-bbigtoc,-bE:<(PRODUCT_DIR)/node.exp'],
'ldflags': ['-Wl,-bE:<(PRODUCT_DIR)/node.exp'],
},
{
'target_name': 'node_exp',