summaryrefslogtreecommitdiff
path: root/deps/uv/uv.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'deps/uv/uv.gyp')
-rw-r--r--deps/uv/uv.gyp34
1 files changed, 19 insertions, 15 deletions
diff --git a/deps/uv/uv.gyp b/deps/uv/uv.gyp
index b969a8cd5d..49d5d22f96 100644
--- a/deps/uv/uv.gyp
+++ b/deps/uv/uv.gyp
@@ -10,13 +10,14 @@
['OS=="solaris"', {
'cflags': [ '-pthreads' ],
}],
- ['OS not in "solaris android zos"', {
+ ['OS not in "solaris android os390"', {
'cflags': [ '-pthread' ],
}],
- ['OS in "zos"', {
+ ['OS in "os390"', {
'defines': [
'_UNIX03_THREADS',
'_UNIX03_SOURCE',
+ '_UNIX03_WITHDRAWN',
'_OPEN_SYS_IF_EXT',
'_OPEN_SYS_SOCK_IPV6',
'_OPEN_MSGQ_EXT',
@@ -28,6 +29,7 @@
'PATH_MAX=255'
],
'cflags': [ '-qxplink' ],
+ 'ldflags': [ '-qxplink' ],
}]
],
}],
@@ -170,10 +172,10 @@
['OS=="solaris"', {
'ldflags': [ '-pthreads' ],
}],
- [ 'OS=="zos" and uv_library=="shared_library"', {
+ [ 'OS=="os390" and uv_library=="shared_library"', {
'ldflags': [ '-Wl,DLL' ],
}],
- ['OS != "solaris" and OS != "android" and OS != "zos"', {
+ ['OS != "solaris" and OS != "android" and OS != "os390"', {
'ldflags': [ '-pthread' ],
}],
],
@@ -181,14 +183,14 @@
'conditions': [
['uv_library=="shared_library"', {
'conditions': [
- ['OS=="zos"', {
+ ['OS=="os390"', {
'cflags': [ '-qexportall' ],
}, {
'cflags': [ '-fPIC' ],
}],
],
}],
- ['uv_library=="shared_library" and OS!="mac" and OS!="zos"', {
+ ['uv_library=="shared_library" and OS!="mac" and OS!="os390"', {
# This will cause gyp to set soname
# Must correspond with UV_VERSION_MAJOR
# in include/uv-version.h
@@ -196,10 +198,10 @@
}],
],
}],
- [ 'OS in "linux mac ios android"', {
+ [ 'OS in "linux mac ios android os390"', {
'sources': [ 'src/unix/proctitle.c' ],
}],
- [ 'OS != "zos"', {
+ [ 'OS != "os390"', {
'cflags': [
'-fvisibility=hidden',
'-g',
@@ -222,7 +224,7 @@
'_DARWIN_UNLIMITED_SELECT=1',
]
}],
- [ 'OS!="mac" and OS!="zos"', {
+ [ 'OS!="mac" and OS!="os390"', {
# Enable on all platforms except OS X. The antique gcc/clang that
# ships with Xcode emits waaaay too many false positives.
'cflags': [ '-Wstrict-aliasing' ],
@@ -275,6 +277,7 @@
'_XOPEN_SOURCE=500',
'_LINUX_SOURCE_COMPAT',
'_THREAD_SAFE',
+ 'HAVE_SYS_AHAFS_EVPRODS_H',
],
'link_settings': {
'libraries': [
@@ -302,11 +305,12 @@
['uv_library=="shared_library"', {
'defines': [ 'BUILDING_UV_SHARED=1' ]
}],
- ['OS=="zos"', {
+ ['OS=="os390"', {
'sources': [
'src/unix/pthread-fixes.c',
- 'src/unix/pthread-barrier.c'
- 'src/unix/os390.c'
+ 'src/unix/pthread-barrier.c',
+ 'src/unix/os390.c',
+ 'src/unix/os390-syscalls.c'
]
}],
]
@@ -467,7 +471,7 @@
'test/runner-unix.h',
],
'conditions': [
- [ 'OS != "zos"', {
+ [ 'OS != "os390"', {
'defines': [ '_GNU_SOURCE' ],
'cflags': [ '-Wno-long-long' ],
'xcode_settings': {
@@ -496,7 +500,7 @@
['uv_library=="shared_library"', {
'defines': [ 'USING_UV_SHARED=1' ],
'conditions': [
- [ 'OS == "zos"', {
+ [ 'OS == "os390"', {
'cflags': [ '-Wc,DLL' ],
}],
],
@@ -557,7 +561,7 @@
['uv_library=="shared_library"', {
'defines': [ 'USING_UV_SHARED=1' ],
'conditions': [
- [ 'OS == "zos"', {
+ [ 'OS == "os390"', {
'cflags': [ '-Wc,DLL' ],
}],
],