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 authored and Jeremiah Senkpiel committed 2016-07-06 14:20:18 +02:00
1 parent 5bb63e13d1
commit b829a4969f
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -293,6 +293,7 @@
'ldflags': [ '-maix64' ],
}],
],
'ldflags': [ '-Wl,-bbigtoc' ],
'ldflags!': [ '-rdynamic' ],
}],
[ 'node_shared=="true"', {
+1 -1
View File
@@ -819,7 +819,7 @@
'common.gypi',
],
'ldflags': ['-Wl,-bbigtoc,-bE:<(PRODUCT_DIR)/node.exp'],
'ldflags': ['-Wl,-bE:<(PRODUCT_DIR)/node.exp'],
},
{
'target_name': 'node_exp',