Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/node-gyp/addon.gypi')
-rw-r--r--node_modules/node-gyp/addon.gypi43
1 files changed, 31 insertions, 12 deletions
diff --git a/node_modules/node-gyp/addon.gypi b/node_modules/node-gyp/addon.gypi
index 9327b0d72..b4ac369ac 100644
--- a/node_modules/node-gyp/addon.gypi
+++ b/node_modules/node-gyp/addon.gypi
@@ -103,22 +103,41 @@
'-Wl,-bimport:<(node_exp_file)'
],
}],
+ [ 'OS=="os400"', {
+ 'ldflags': [
+ '-Wl,-bimport:<(node_exp_file)'
+ ],
+ }],
[ 'OS=="zos"', {
- 'cflags': [
- '-q64',
- '-Wc,DLL',
- '-qlonglong',
- '-qenum=int',
- '-qxclang=-fexec-charset=ISO8859-1'
+ 'conditions': [
+ [ '"<!(echo $CC)" != "clang" and \
+ "<!(echo $CC)" != "ibm-clang64" and \
+ "<!(echo $CC)" != "ibm-clang"', {
+ 'cflags': [
+ '-q64',
+ '-Wc,DLL',
+ '-qlonglong',
+ '-qenum=int',
+ '-qxclang=-fexec-charset=ISO8859-1'
+ ],
+ 'ldflags': [
+ '-q64',
+ '<(node_exp_file)',
+ ],
+ }, {
+ 'cflags': [
+ '-m64',
+ ],
+ 'ldflags': [
+ '-m64',
+ '<(node_exp_file)',
+ ],
+ }],
],
'defines': [
- '_ALL_SOURCE=1',
+ '_ALL_SOURCE',
'MAP_FAILED=-1',
- '_UNIX03_SOURCE=1'
- ],
- 'ldflags': [
- '-q64',
- '<(node_exp_file)'
+ '_UNIX03_SOURCE',
],
}],
[ 'OS=="win"', {