build: compile all targets with large file support

This commit is contained in:
Ben Noordhuis 2011-10-12 01:41:17 +00:00
parent 72fb469a43
commit 014394df3a

19
uv.gyp
View File

@ -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"', {