|  | 
| 113 | 113 |             'msvs_configuration_platform': 'x64', | 
| 114 | 114 |           }], | 
| 115 | 115 |           ['OS=="aix"', { | 
| 116 |  | -            'variables': {'real_os_name': '<!(uname -s)',}, | 
| 117 | 116 |             'cflags': [ '-gxcoff' ], | 
| 118 | 117 |             'ldflags': [ '-Wl,-bbigtoc' ], | 
| 119 |  | -            'conditions': [ | 
| 120 |  | -              ['target_arch=="ppc64"', { | 
| 121 |  | -                'ldflags': [ | 
| 122 |  | -                  '-Wl,-blibpath:/usr/lib:/lib:' | 
| 123 |  | -                    '/opt/freeware/lib/pthread/ppc64' | 
| 124 |  | -                ], | 
| 125 |  | -              }], | 
| 126 |  | -              ['target_arch=="ppc"', { | 
| 127 |  | -                'ldflags': [ | 
| 128 |  | -                  '-Wl,-blibpath:/usr/lib:/lib:/opt/freeware/lib/pthread' | 
| 129 |  | -                ], | 
| 130 |  | -              }], | 
| 131 |  | -              ['"<(real_os_name)"=="OS400"', { | 
| 132 |  | -                'ldflags': [ | 
| 133 |  | -                  '-Wl,-blibpath:/QOpenSys/pkgs/lib:/QOpenSys/usr/lib', | 
| 134 |  | -                  '-Wl,-brtl', | 
| 135 |  | -                ], | 
| 136 |  | -              }], | 
| 137 |  | -            ], | 
| 138 | 118 |           }], | 
| 139 | 119 |           ['OS == "android"', { | 
| 140 | 120 |             'cflags': [ '-fPIE' ], | 
|  | 
| 422 | 402 |             'ldflags': [ '-m32' ], | 
| 423 | 403 |           }], | 
| 424 | 404 |           [ 'target_arch=="ppc64" and OS!="aix"', { | 
| 425 |  | -	    'cflags': [ '-m64', '-mminimal-toc' ], | 
| 426 |  | -	    'ldflags': [ '-m64' ], | 
| 427 |  | -	   }], | 
|  | 405 | +            'cflags': [ '-m64', '-mminimal-toc' ], | 
|  | 406 | +            'ldflags': [ '-m64' ], | 
|  | 407 | +          }], | 
| 428 | 408 |           [ 'target_arch=="s390"', { | 
| 429 | 409 |             'cflags': [ '-m31', '-march=z196' ], | 
| 430 | 410 |             'ldflags': [ '-m31', '-march=z196' ], | 
|  | 
| 439 | 419 |             'cflags!': [ '-pthread' ], | 
| 440 | 420 |             'ldflags!': [ '-pthread' ], | 
| 441 | 421 |           }], | 
| 442 |  | -          [ 'OS=="aix"', { | 
| 443 |  | -            'variables': {'real_os_name': '<!(uname -s)',}, | 
| 444 |  | -            'conditions': [ | 
| 445 |  | -              [ 'target_arch=="ppc"', { | 
| 446 |  | -                'ldflags': [ | 
| 447 |  | -                  '-Wl,-bmaxdata:0x60000000/dsa', | 
| 448 |  | -                  '-Wl,-blibpath:/usr/lib:/lib:/opt/freeware/lib/pthread', | 
| 449 |  | -                 ], | 
| 450 |  | -              }], | 
| 451 |  | -              [ 'target_arch=="ppc64"', { | 
| 452 |  | -                'cflags': [ '-maix64' ], | 
| 453 |  | -                'ldflags': [ | 
| 454 |  | -                  '-maix64', | 
| 455 |  | -                  '-Wl,-blibpath:/usr/lib:/lib:' | 
| 456 |  | -                    '/opt/freeware/lib/pthread/ppc64', | 
| 457 |  | -                ], | 
| 458 |  | -              }], | 
| 459 |  | -              ['"<(real_os_name)"=="OS400"', { | 
| 460 |  | -                'ldflags': [ | 
| 461 |  | -                  '-Wl,-blibpath:/QOpenSys/pkgs/lib:/QOpenSys/usr/lib', | 
| 462 |  | -                  '-Wl,-brtl', | 
| 463 |  | -                ], | 
| 464 |  | -              }], | 
| 465 |  | -            ], | 
| 466 |  | -            'ldflags': [ '-Wl,-bbigtoc' ], | 
| 467 |  | -            'ldflags!': [ '-rdynamic' ], | 
| 468 |  | -          }], | 
| 469 | 422 |           [ 'node_shared=="true"', { | 
| 470 | 423 |             'cflags': [ '-fPIC' ], | 
| 471 | 424 |           }], | 
| 472 | 425 |         ], | 
| 473 | 426 |       }], | 
|  | 427 | +      [ 'OS=="aix"', { | 
|  | 428 | +        'variables': { | 
|  | 429 | +          # Used to differentiate `AIX` and `OS400`(IBM i). | 
|  | 430 | +          'aix_variant_name': '<!(uname -s)', | 
|  | 431 | +        }, | 
|  | 432 | +        'cflags': [ '-maix64', ], | 
|  | 433 | +        'ldflags!': [ '-rdynamic', ], | 
|  | 434 | +        'ldflags': [ | 
|  | 435 | +          '-Wl,-bbigtoc', | 
|  | 436 | +          '-maix64', | 
|  | 437 | +        ], | 
|  | 438 | +        'conditions': [ | 
|  | 439 | +          [ '"<(aix_variant_name)"=="OS400"', {            # a.k.a. `IBM i` | 
|  | 440 | +            'ldflags': [ | 
|  | 441 | +              '-Wl,-blibpath:/QOpenSys/pkgs/lib:/QOpenSys/usr/lib', | 
|  | 442 | +              '-Wl,-brtl', | 
|  | 443 | +            ], | 
|  | 444 | +          }, {                                             # else it's `AIX` | 
|  | 445 | +            'ldflags': [ | 
|  | 446 | +              '-Wl,-blibpath:/usr/lib:/lib:/opt/freeware/lib/pthread/ppc64', | 
|  | 447 | +            ], | 
|  | 448 | +          }], | 
|  | 449 | +        ], | 
|  | 450 | +      }], | 
| 474 | 451 |       ['OS=="android"', { | 
| 475 | 452 |         'target_conditions': [ | 
| 476 | 453 |           ['_toolset=="target"', { | 
|  | 
0 commit comments