mirror of https://github.com/nodejs/node.git
build: compile with -D__DARWIN_64_BIT_INO_T on OS X
Fixes a struct stat size mismatch on 64 bits machines that made Node crash with a EXC_BAD_ACCESS on startup. Fixes #2061 for gyp builds. Solution proposed by Paddy Byers.pull/5370/head
parent
cffd0bb68d
commit
1cf13bca19
|
@ -128,6 +128,7 @@
|
||||||
],
|
],
|
||||||
}],
|
}],
|
||||||
['OS=="mac"', {
|
['OS=="mac"', {
|
||||||
|
'defines': ['__DARWIN_64_BIT_INO_T=1'],
|
||||||
'xcode_settings': {
|
'xcode_settings': {
|
||||||
'ALWAYS_SEARCH_USER_PATHS': 'NO',
|
'ALWAYS_SEARCH_USER_PATHS': 'NO',
|
||||||
'GCC_CW_ASM_SYNTAX': 'NO', # No -fasm-blocks
|
'GCC_CW_ASM_SYNTAX': 'NO', # No -fasm-blocks
|
||||||
|
|
Loading…
Reference in New Issue