aboutsummaryrefslogtreecommitdiffhomepage
path: root/binding.gyp
diff options
context:
space:
mode:
authorGravatar murgatroid99 <mlumish@google.com>2015-10-22 15:32:04 -0700
committerGravatar murgatroid99 <mlumish@google.com>2015-10-22 15:32:04 -0700
commit403caaf4fb8273121c3f6896815ca3e6b9ae6aef (patch)
treeaf2ca2d13059405eb78a1ce7cd5e1e9fb1d861ef /binding.gyp
parentdef77a5235b389af3e76fe7fc8699d70f426f957 (diff)
Copy Node Mac build fix from old pull request (#1199)
Diffstat (limited to 'binding.gyp')
-rw-r--r--binding.gyp10
1 files changed, 10 insertions, 0 deletions
diff --git a/binding.gyp b/binding.gyp
index 050bc40664..4c6a641b8c 100644
--- a/binding.gyp
+++ b/binding.gyp
@@ -73,6 +73,16 @@
]
]
}],
+ ['OS=="mac"', {
+ 'xcode_settings': {
+ 'MACOSX_DEPLOYMENT_TARGET': '10.9',
+ 'OTHER_CFLAGS': [
+ '-fno-strict-aliasing',
+ '-std=c++11',
+ '-stdlib=libc++'
+ ]
+ }
+ }]
]
},
'targets': [