|
45 | 45 | parser = argparse.ArgumentParser() |
46 | 46 |
|
47 | 47 | valid_os = ('win', 'mac', 'solaris', 'freebsd', 'openbsd', 'linux', |
48 | | - 'android', 'aix', 'cloudabi', 'ios') |
| 48 | + 'android', 'aix', 'cloudabi', 'os400', 'ios') |
49 | 49 | valid_arch = ('arm', 'arm64', 'ia32', 'mips', 'mipsel', 'mips64el', 'ppc', |
50 | 50 | 'ppc64', 'x64', 'x86', 'x86_64', 's390x', 'riscv64', 'loong64') |
51 | 51 | valid_arm_float_abi = ('soft', 'softfp', 'hard') |
@@ -1325,7 +1325,7 @@ def configure_node(o): |
1325 | 1325 | elif sys.platform == 'zos': |
1326 | 1326 | configure_zos(o) |
1327 | 1327 |
|
1328 | | - if flavor == 'aix': |
| 1328 | + if flavor in ('aix', 'os400'): |
1329 | 1329 | o['variables']['node_target_type'] = 'static_library' |
1330 | 1330 |
|
1331 | 1331 | if target_arch in ('x86', 'x64', 'ia32', 'x32'): |
@@ -1446,6 +1446,8 @@ def configure_node(o): |
1446 | 1446 | shlib_suffix = '%s.dylib' |
1447 | 1447 | elif sys.platform.startswith('aix'): |
1448 | 1448 | shlib_suffix = '%s.a' |
| 1449 | + elif sys.platform == 'os400': |
| 1450 | + shlib_suffix = '%s.a' |
1449 | 1451 | elif sys.platform.startswith('zos'): |
1450 | 1452 | shlib_suffix = '%s.x' |
1451 | 1453 | else: |
@@ -1959,6 +1961,9 @@ def icu_download(path): |
1959 | 1961 | elif flavor == 'mac': |
1960 | 1962 | icu_config['variables']['icu_asm_ext'] = 'S' |
1961 | 1963 | icu_config['variables']['icu_asm_opts'] = [ '-a', 'gcc-darwin' ] |
| 1964 | + elif sys.platform == 'os400': |
| 1965 | + icu_config['variables']['icu_asm_ext'] = 'S' |
| 1966 | + icu_config['variables']['icu_asm_opts'] = [ '-a', 'xlc' ] |
1962 | 1967 | elif sys.platform.startswith('aix'): |
1963 | 1968 | icu_config['variables']['icu_asm_ext'] = 'S' |
1964 | 1969 | icu_config['variables']['icu_asm_opts'] = [ '-a', 'xlc' ] |
|
0 commit comments