mirror of https://github.com/grpc/grpc-node.git
commit
f0909ac3cb
|
@ -64,6 +64,7 @@
|
|||
'-Wno-unused-parameter',
|
||||
'-DOSATOMIC_USE_INLINED=1',
|
||||
'-Wno-deprecated-declarations',
|
||||
'-fvisibility=hidden',
|
||||
],
|
||||
'ldflags': [
|
||||
'-g',
|
||||
|
@ -188,6 +189,7 @@
|
|||
'-Wno-unused-parameter',
|
||||
'-DOSATOMIC_USE_INLINED=1',
|
||||
'-Wno-deprecated-declarations',
|
||||
'-fvisibility=hidden',
|
||||
],
|
||||
'OTHER_CPLUSPLUSFLAGS': [
|
||||
'-g',
|
||||
|
@ -198,6 +200,7 @@
|
|||
'-Wno-unused-parameter',
|
||||
'-DOSATOMIC_USE_INLINED=1',
|
||||
'-Wno-deprecated-declarations',
|
||||
'-fvisibility=hidden',
|
||||
'-stdlib=libc++',
|
||||
'-std=c++11',
|
||||
'-Wno-error=deprecated-declarations'
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
% for arg, prop in [('CPPFLAGS', 'cflags'), ('LDFLAGS', 'ldflags')]:
|
||||
% if defaults['global'].get(arg, None) is not None:
|
||||
'${prop}': [
|
||||
% for item in defaults['global'].get(arg).split():
|
||||
% for item in defaults['global'].get(arg).split() + (['-fvisibility=hidden'] if arg == 'CPPFLAGS' else []):
|
||||
'${item}',
|
||||
% endfor
|
||||
],
|
||||
|
@ -169,12 +169,12 @@
|
|||
'xcode_settings': {
|
||||
% if defaults['global'].get('CPPFLAGS', None) is not None:
|
||||
'OTHER_CFLAGS': [
|
||||
% for item in defaults['global'].get('CPPFLAGS').split():
|
||||
% for item in defaults['global'].get('CPPFLAGS').split() + ['-fvisibility=hidden']:
|
||||
'${item}',
|
||||
% endfor
|
||||
],
|
||||
'OTHER_CPLUSPLUSFLAGS': [
|
||||
% for item in defaults['global'].get('CPPFLAGS').split():
|
||||
% for item in defaults['global'].get('CPPFLAGS').split() + ['-fvisibility=hidden']:
|
||||
'${item}',
|
||||
% endfor
|
||||
'-stdlib=libc++',
|
||||
|
|
Loading…
Reference in New Issue