Modified Mac build fix for new binding.gyp structure

pull/3944/head
murgatroid99 9 years ago
parent 403caaf4fb
commit 6ffdb9494b
  1. 30
      binding.gyp
  2. 20
      templates/binding.gyp.template

@ -73,16 +73,6 @@
]
]
}],
['OS=="mac"', {
'xcode_settings': {
'MACOSX_DEPLOYMENT_TARGET': '10.9',
'OTHER_CFLAGS': [
'-fno-strict-aliasing',
'-std=c++11',
'-stdlib=libc++'
]
}
}]
]
},
'targets': [
@ -134,6 +124,16 @@
'src/core/support/time_win32.c',
'src/core/support/tls_pthread.c',
],
"conditions": [
['OS == "mac"', {
'xcode_settings': {
'MACOSX_DEPLOYMENT_TARGET': '10.9',
'OTHER_CFLAGS': [
'-stdlib=libc++'
]
}
}]
],
},
{
'target_name': 'grpc',
@ -292,6 +292,16 @@
'src/core/census/operation.c',
'src/core/census/tracing.c',
],
"conditions": [
['OS == "mac"', {
'xcode_settings': {
'MACOSX_DEPLOYMENT_TARGET': '10.9',
'OTHER_CFLAGS': [
'-stdlib=libc++'
]
}
}]
],
},
{
'include_dirs': [

@ -75,16 +75,6 @@
]
]
}],
['OS=="mac"', {
'xcode_settings': {
'MACOSX_DEPLOYMENT_TARGET': '10.9',
'OTHER_CFLAGS': [
'-fno-strict-aliasing',
'-std=c++11',
'-stdlib=libc++'
]
}
}]
]
},
'targets': [
@ -104,6 +94,16 @@
'${source}',
% endfor
],
"conditions": [
['OS == "mac"', {
'xcode_settings': {
'MACOSX_DEPLOYMENT_TARGET': '10.9',
'OTHER_CFLAGS': [
'-stdlib=libc++'
]
}
}]
],
},
% endif
% endfor

Loading…
Cancel
Save