diff --git a/common.gypi b/common.gypi index a892c2d6e38f5b..646db0d7bbb339 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 a1d5e54ffbeed1..8c9f9c69840b0c 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',