build: compile all targets with large file support
This commit is contained in:
parent
72fb469a43
commit
014394df3a
19
uv.gyp
19
uv.gyp
@ -1,4 +1,17 @@
|
||||
{
|
||||
'target_defaults': {
|
||||
'conditions': [
|
||||
['OS != "win"', {
|
||||
'defines': [
|
||||
'_LARGEFILE_SOURCE',
|
||||
'_FILE_OFFSET_BITS=64',
|
||||
'_GNU_SOURCE',
|
||||
'EIO_STACKSIZE=262144'
|
||||
],
|
||||
}],
|
||||
],
|
||||
},
|
||||
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'uv',
|
||||
@ -171,12 +184,6 @@
|
||||
'src/unix/ev/event.h',
|
||||
],
|
||||
'include_dirs': [ 'src/unix/ev', ],
|
||||
'defines': [
|
||||
'_LARGEFILE_SOURCE',
|
||||
'_FILE_OFFSET_BITS=64',
|
||||
'_GNU_SOURCE',
|
||||
'EIO_STACKSIZE=262144'
|
||||
],
|
||||
'libraries': [ '-lm' ]
|
||||
}],
|
||||
[ 'OS=="mac"', {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user