zos: set language level to extended c99

PR-URL: https://github.com/libuv/libuv/pull/1839
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
This commit is contained in:
John Barboza 2018-05-11 06:10:50 -07:00 committed by Santiago Gimeno
parent 8eed38fd4a
commit 8149ac7d7a
No known key found for this signature in database
GPG Key ID: F28C3C8DA33C03BE
2 changed files with 5 additions and 9 deletions

View File

@ -158,7 +158,7 @@
'cflags': [ '-pthreads' ],
'ldflags': [ '-pthreads' ],
}],
[ 'OS not in "solaris android zos"', {
[ 'OS not in "solaris android"', {
'cflags': [ '-pthread' ],
'ldflags': [ '-pthread' ],
}],
@ -203,6 +203,10 @@
# pull in V8's postmortem metadata
'ldflags': [ '-Wl,-z,allextract' ]
}],
['OS=="zos"', {
'cflags': [ '-qlanglvl=extc99', '-qxplink' ],
'ldflags': [ '-qxplink' ],
}],
],
},
}

View File

@ -190,10 +190,6 @@
'_XOPEN_SOURCE=500',
],
}],
[ 'OS == "zos"', {
'cflags': [ '-qxplink' ],
'ldflags': [ '-qxplink' ],
}],
['uv_library=="shared_library"', {
'defines': [ 'USING_UV_SHARED=1' ],
'conditions': [
@ -254,10 +250,6 @@
'runner-unix.h',
]
}],
[ 'OS == "zos"', {
'cflags': [ '-qxplink' ],
'ldflags': [ '-qxplink' ],
}],
['uv_library=="shared_library"', {
'defines': [ 'USING_UV_SHARED=1' ],
'conditions': [