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:
parent
f657ce685d
commit
11a5119e72
@ -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' ],
|
||||
|
Loading…
Reference in New Issue
Block a user