0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-24 12:10:08 +01:00

build: disable use of thin archive

Thin archive needs binutils >= 2.19, disable it for supporting old ar
even if static libraries are linked within a local build.
This commit is contained in:
Shigeki Ohtsu 2012-11-21 17:34:56 +09:00 committed by Ben Noordhuis
parent f657ce685d
commit 11a5119e72

View File

@ -163,6 +163,11 @@
'cflags': [ '-Wall', '-Wextra', '-Wno-unused-parameter', '-pthread', ],
'cflags_cc': [ '-fno-rtti', '-fno-exceptions' ],
'ldflags': [ '-pthread', '-rdynamic' ],
'target_conditions': [
['_type=="static_library"', {
'standalone_static_library': 1, # disable thin archive which needs binutils >= 2.19
}],
],
'conditions': [
[ 'target_arch=="ia32"', {
'cflags': [ '-m32' ],