We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca57ce2 commit 33932c1Copy full SHA for 33932c1
1 file changed
binding.gyp
@@ -9,22 +9,9 @@
9
'cflags': ['-std=c99'],
10
'conditions': [
11
["OS=='mac'", {
12
- 'variables': {
13
- 'clang_version':
14
- '<!(cc -v 2>&1 | perl -ne \'print $1 if /clang version ([0-9]+(\\.[0-9]+){2,})/\')'
15
- },
16
'xcode_settings': {
17
'MACOSX_DEPLOYMENT_TARGET': '10.7'
18
19
- 'conditions': [
20
- # Use Perl v-strings to compare versions.
21
- ['clang_version and <!(perl -e \'print <(clang_version) cmp 12.0.0\')==1', {
22
- 'xcode_settings': {
23
- 'OTHER_CFLAGS': ['-arch arm64'],
24
- 'OTHER_LDFLAGS': ['-arch arm64']
25
- }
26
- }]
27
- ]
+ }
28
}]
29
]
30
}
0 commit comments