diff --git a/common.gypi b/common.gypi index a892c2d6e38..646db0d7bbb 100644 --- a/common.gypi +++ b/common.gypi @@ -293,6 +293,7 @@ 'ldflags': [ '-maix64' ], }], ], + 'ldflags': [ '-Wl,-bbigtoc' ], 'ldflags!': [ '-rdynamic' ], }], [ 'node_shared=="true"', { diff --git a/node.gyp b/node.gyp index a1d5e54ffbe..8c9f9c69840 100644 --- a/node.gyp +++ b/node.gyp @@ -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',