Browse Source

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>
v6.x
Gireesh Punathil 9 years ago
committed by Jeremiah Senkpiel
parent
commit
b829a4969f
  1. 1
      common.gypi
  2. 2
      node.gyp

1
common.gypi

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

2
node.gyp

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

Loading…
Cancel
Save