GeezerVison is showing github.com — build: remove redundant `-mXX` flags for V8 · nodejs/node@403264c
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: tools/v8_gypfiles/toolchain.gypi -91Lines changed: 0 additions & 91 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 97 | 97 | # Indicates if gcmole tools are downloaded by a hook. | 98 | 98 | 'gcmole%': 0, | 99 | 99 | }, | 100 | | - | 101 | | - # [GYP] this needs to be outside of the top level 'variables' | 102 | | - 'conditions': [ | 103 | | - ['host_arch=="ia32" or host_arch=="x64" or \ | 104 | | - host_arch=="ppc64" or \ | 105 | | - host_arch=="s390x" or \ | 106 | | - clang==1', { | 107 | | - 'variables': { | 108 | | - 'host_cxx_is_biarch%': 1, | 109 | | - }, | 110 | | - }, { | 111 | | - 'variables': { | 112 | | - 'host_cxx_is_biarch%': 0, | 113 | | - }, | 114 | | - }], | 115 | | - ['target_arch=="ia32" or target_arch=="x64" or \ | 116 | | - target_arch=="ppc64" or \ | 117 | | - target_arch=="s390x" or clang==1', { | 118 | | - 'variables': { | 119 | | - 'target_cxx_is_biarch%': 1, | 120 | | - }, | 121 | | - }, { | 122 | | - 'variables': { | 123 | | - 'target_cxx_is_biarch%': 0, | 124 | | - }, | 125 | | - }], | 126 | | - ], | 127 | 100 | 'target_defaults': { | 128 | 101 | 'include_dirs': [ | 129 | 102 | '<(V8_ROOT)', | | 574 | 547 | '-mmmx', # Allows mmintrin.h for MMX intrinsics. | 575 | 548 | ], | 576 | 549 | }], | 577 | | - ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ | 578 | | - or OS=="netbsd" or OS=="mac" or OS=="android" or OS=="qnx") and \ | 579 | | - (v8_target_arch=="arm" or v8_target_arch=="ia32")', { | 580 | | - 'target_conditions': [ | 581 | | - ['_toolset=="host"', { | 582 | | - 'conditions': [ | 583 | | - ['host_cxx_is_biarch==1', { | 584 | | - 'conditions': [ | 585 | | - ['host_arch=="s390x"', { | 586 | | - 'cflags': [ '-m31' ], | 587 | | - 'ldflags': [ '-m31' ] | 588 | | - },{ | 589 | | - 'cflags': [ '-m32' ], | 590 | | - 'ldflags': [ '-m32' ] | 591 | | - }], | 592 | | - ], | 593 | | - }], | 594 | | - ], | 595 | | - 'xcode_settings': { | 596 | | - 'ARCHS': [ 'i386' ], | 597 | | - }, | 598 | | - }], | 599 | | - ['_toolset=="target"', { | 600 | | - 'conditions': [ | 601 | | - ['target_cxx_is_biarch==1', { | 602 | | - 'conditions': [ | 603 | | - ['host_arch=="s390x"', { | 604 | | - 'cflags': [ '-m31' ], | 605 | | - 'ldflags': [ '-m31' ] | 606 | | - },{ | 607 | | - 'cflags': [ '-m32' ], | 608 | | - 'ldflags': [ '-m32' ], | 609 | | - }], | 610 | | - ], | 611 | | - }], | 612 | | - ], | 613 | | - 'xcode_settings': { | 614 | | - 'ARCHS': [ 'i386' ], | 615 | | - }, | 616 | | - }], | 617 | | - ], | 618 | | - }], | 619 | | - ['(OS=="linux" or OS=="android") and \ | 620 | | - (v8_target_arch=="x64" or v8_target_arch=="arm64" or \ | 621 | | - v8_target_arch=="ppc64" or v8_target_arch=="s390x")', { | 622 | | - 'target_conditions': [ | 623 | | - ['_toolset=="host"', { | 624 | | - 'conditions': [ | 625 | | - ['host_cxx_is_biarch==1', { | 626 | | - 'cflags': [ '-m64' ], | 627 | | - 'ldflags': [ '-m64' ] | 628 | | - }], | 629 | | - ], | 630 | | - }], | 631 | | - ['_toolset=="target"', { | 632 | | - 'conditions': [ | 633 | | - ['target_cxx_is_biarch==1', { | 634 | | - 'cflags': [ '-m64' ], | 635 | | - 'ldflags': [ '-m64' ], | 636 | | - }], | 637 | | - ] | 638 | | - }], | 639 | | - ], | 640 | | - }], | 641 | 550 | ['OS=="android" and v8_android_log_stdout==1', { | 642 | 551 | 'defines': [ | 643 | 552 | 'V8_ANDROID_LOG_STDOUT', | |
|