Skip to content

Commit

Permalink
Copy Node Mac build fix from old pull request (grpc#1199)
Browse files Browse the repository at this point in the history
  • Loading branch information
murgatroid99 committed Oct 22, 2015
1 parent def77a5 commit 403caaf
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,16 @@
]
]
}],
['OS=="mac"', {
'xcode_settings': {
'MACOSX_DEPLOYMENT_TARGET': '10.9',
'OTHER_CFLAGS': [
'-fno-strict-aliasing',
'-std=c++11',
'-stdlib=libc++'
]
}
}]
]
},
'targets': [
Expand Down
10 changes: 10 additions & 0 deletions templates/binding.gyp.template
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,16 @@
]
]
}],
['OS=="mac"', {
'xcode_settings': {
'MACOSX_DEPLOYMENT_TARGET': '10.9',
'OTHER_CFLAGS': [
'-fno-strict-aliasing',
'-std=c++11',
'-stdlib=libc++'
]
}
}]
]
},
'targets': [
Expand Down

0 comments on commit 403caaf

Please sign in to comment.