Skip to content

Commit 33932c1

Browse files
mayfieldlpinca
authored andcommitted
[build] Do not build a universal binary for macOS (#167)
Fixes #166
1 parent ca57ce2 commit 33932c1

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

binding.gyp

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,9 @@
99
'cflags': ['-std=c99'],
1010
'conditions': [
1111
["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-
},
1612
'xcode_settings': {
1713
'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-
]
14+
}
2815
}]
2916
]
3017
}

0 commit comments

Comments
 (0)