aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/binding.gyp.template
diff options
context:
space:
mode:
authorGravatar murgatroid99 <mlumish@google.com>2015-10-22 16:10:05 -0700
committerGravatar murgatroid99 <mlumish@google.com>2015-10-22 16:10:05 -0700
commit6ffdb9494b0b52248afda4b8dc8b34759ee2358a (patch)
treeb133d98cd2795f6f727f23488a61c7d605835bb4 /templates/binding.gyp.template
parent403caaf4fb8273121c3f6896815ca3e6b9ae6aef (diff)
Modified Mac build fix for new binding.gyp structure
Diffstat (limited to 'templates/binding.gyp.template')
-rw-r--r--templates/binding.gyp.template20
1 files changed, 10 insertions, 10 deletions
diff --git a/templates/binding.gyp.template b/templates/binding.gyp.template
index 982a9aeace..2be275b585 100644
--- a/templates/binding.gyp.template
+++ b/templates/binding.gyp.template
@@ -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