diff --git a/common.gypi b/common.gypi index 4bca61a2561..e2d52c1d9ba 100644 --- a/common.gypi +++ b/common.gypi @@ -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' ],