|
101 | 101 | # [GYP] this needs to be outside of the top level 'variables'
|
102 | 102 | 'conditions': [
|
103 | 103 | ['host_arch=="ia32" or host_arch=="x64" or \
|
104 |
| - host_arch=="ppc" or host_arch=="ppc64" or \ |
| 104 | + host_arch=="ppc64" or \ |
105 | 105 | host_arch=="s390x" or \
|
106 | 106 | clang==1', {
|
107 | 107 | 'variables': {
|
|
113 | 113 | },
|
114 | 114 | }],
|
115 | 115 | ['target_arch=="ia32" or target_arch=="x64" or \
|
116 |
| - target_arch=="ppc" or target_arch=="ppc64" or \ |
| 116 | + target_arch=="ppc64" or \ |
117 | 117 | target_arch=="s390x" or clang==1', {
|
118 | 118 | 'variables': {
|
119 | 119 | 'target_cxx_is_biarch%': 1,
|
|
328 | 328 | }],
|
329 | 329 | ],
|
330 | 330 | }], # s390x
|
331 |
| - ['v8_target_arch=="ppc" or v8_target_arch=="ppc64"', { |
| 331 | + ['v8_target_arch=="ppc64"', { |
| 332 | + 'defines': [ |
| 333 | + 'V8_TARGET_ARCH_PPC64', |
| 334 | + ], |
| 335 | + 'cflags': [ |
| 336 | + '-ffp-contract=off', |
| 337 | + ], |
332 | 338 | 'conditions': [
|
333 |
| - ['v8_target_arch=="ppc"', { |
334 |
| - 'defines': [ |
335 |
| - 'V8_TARGET_ARCH_PPC', |
336 |
| - ], |
337 |
| - }], |
338 |
| - ['v8_target_arch=="ppc64"', { |
339 |
| - 'defines': [ |
340 |
| - 'V8_TARGET_ARCH_PPC64', |
341 |
| - ], |
342 |
| - 'cflags': [ |
343 |
| - '-ffp-contract=off', |
344 |
| - ], |
345 |
| - }], |
346 |
| - ['v8_host_byteorder=="little"', { |
347 |
| - 'defines': [ |
348 |
| - 'V8_TARGET_ARCH_PPC_LE', |
349 |
| - ], |
| 339 | + ['OS=="aix" or OS=="os400"', { |
| 340 | + # Work around AIX ceil, trunc and round oddities. |
| 341 | + 'cflags': [ '-mcpu=power5+ -mfprnd' ], |
350 | 342 | }],
|
351 |
| - ['v8_host_byteorder=="big"', { |
352 |
| - 'defines': [ |
353 |
| - 'V8_TARGET_ARCH_PPC_BE', |
354 |
| - ], |
355 |
| - 'conditions': [ |
356 |
| - ['OS=="aix" or OS=="os400"', { |
357 |
| - # Work around AIX ceil, trunc and round oddities. |
358 |
| - 'cflags': [ '-mcpu=power5+ -mfprnd' ], |
359 |
| - }], |
360 |
| - ['OS=="aix" or OS=="os400"', { |
361 |
| - # Work around AIX assembler popcntb bug. |
362 |
| - 'cflags': [ '-mno-popcntb' ], |
363 |
| - }], |
364 |
| - ], |
| 343 | + ['OS=="aix" or OS=="os400"', { |
| 344 | + # Work around AIX assembler popcntb bug. |
| 345 | + 'cflags': [ '-mno-popcntb' ], |
365 | 346 | }],
|
366 | 347 | ],
|
367 |
| - }], # ppc |
| 348 | + }], # ppc64 |
368 | 349 | ['v8_target_arch=="ia32"', {
|
369 | 350 | 'defines': [
|
370 | 351 | 'V8_TARGET_ARCH_IA32',
|
|
595 | 576 | }],
|
596 | 577 | ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \
|
597 | 578 | or OS=="netbsd" or OS=="mac" or OS=="android" or OS=="qnx") and \
|
598 |
| - (v8_target_arch=="arm" or v8_target_arch=="ia32" or \ |
599 |
| - v8_target_arch=="ppc")', { |
| 579 | + (v8_target_arch=="arm" or v8_target_arch=="ia32")', { |
600 | 580 | 'target_conditions': [
|
601 | 581 | ['_toolset=="host"', {
|
602 | 582 | 'conditions': [
|
|
679 | 659 | '__STDC_FORMAT_MACROS',
|
680 | 660 | '_ALL_SOURCE=1'],
|
681 | 661 | 'conditions': [
|
682 |
| - [ 'v8_target_arch=="ppc"', { |
683 |
| - 'ldflags': [ '-Wl,-bmaxdata:0x60000000/dsa' ], |
684 |
| - }], |
685 | 662 | [ 'v8_target_arch=="ppc64"', {
|
686 | 663 | 'cflags': [ '-maix64', '-fdollars-in-identifiers', '-fno-extern-tls-init' ],
|
687 | 664 | 'ldflags': [ '-maix64 -Wl,-bbigtoc' ],
|
|
0 commit comments