| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -489,7 +489,12 @@ | |||
| 489 | 489 | }], | |
| 490 | 490 | [ 'OS in "linux freebsd openbsd solaris android aix os400 cloudabi"', { | |
| 491 | 491 | 'cflags': [ '-Wall', '-Wextra', '-Wno-unused-parameter', ], | |
| 492 | - 'cflags_cc': [ '-fno-rtti', '-fno-exceptions', '-std=gnu++17' ], | ||
| 492 | + 'cflags_cc': [ | ||
| 493 | + '-fno-rtti', | ||
| 494 | + '-fno-exceptions', | ||
| 495 | + '-fno-strict-aliasing', | ||
| 496 | + '-std=gnu++17', | ||
| 497 | + ], | ||
| 493 | 498 | 'defines': [ '__STDC_FORMAT_MACROS' ], | |
| 494 | 499 | 'ldflags': [ '-rdynamic' ], | |
| 495 | 500 | 'target_conditions': [ | |
@@ -620,12 +625,10 @@ | |||
| 620 | 625 | 'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', # -fno-exceptions | |
| 621 | 626 | 'GCC_ENABLE_CPP_RTTI': 'NO', # -fno-rtti | |
| 622 | 627 | 'GCC_ENABLE_PASCAL_STRINGS': 'NO', # No -mpascal-strings | |
| 628 | + 'GCC_STRICT_ALIASING': 'NO', # -fno-strict-aliasing | ||
| 623 | 629 | 'PREBINDING': 'NO', # No -Wl,-prebind | |
| 624 | 630 | 'MACOSX_DEPLOYMENT_TARGET': '11.0', # -mmacosx-version-min=11.0 | |
| 625 | 631 | 'USE_HEADERMAP': 'NO', | |
| 626 | - 'OTHER_CFLAGS': [ | ||
| 627 | - '-fno-strict-aliasing', | ||
| 628 | - ], | ||
| 629 | 632 | 'WARNING_CFLAGS': [ | |
| 630 | 633 | '-Wall', | |
| 631 | 634 | '-Wendif-labels', | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1637,7 +1637,6 @@ def configure_v8(o, configs): | |||
| 1637 | 1637 | o['variables']['v8_enable_javascript_promise_hooks'] = 1 | |
| 1638 | 1638 | o['variables']['v8_enable_lite_mode'] = 1 if options.v8_lite_mode else 0 | |
| 1639 | 1639 | o['variables']['v8_enable_gdbjit'] = 1 if options.gdb else 0 | |
| 1640 | - o['variables']['v8_no_strict_aliasing'] = 1 # Work around compiler bugs. | ||
| 1641 | 1640 | o['variables']['v8_optimized_debug'] = 0 if options.v8_non_optimized_debug else 1 | |
| 1642 | 1641 | o['variables']['dcheck_always_on'] = 1 if options.v8_with_dchecks else 0 | |
| 1643 | 1642 | o['variables']['v8_enable_object_print'] = 0 if options.v8_disable_object_print else 1 | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1097,7 +1097,6 @@ An example of the possible output looks like: | |||
| 1097 | 1097 | node_shared_zlib: 'false', | |
| 1098 | 1098 | node_use_openssl: 'true', | |
| 1099 | 1099 | node_shared_openssl: 'false', | |
| 1100 | - strict_aliasing: 'true', | ||
| 1101 | 1100 | target_arch: 'x64', | |
| 1102 | 1101 | v8_use_snapshot: 1 | |
| 1103 | 1102 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -69,9 +69,6 @@ | |||
| 69 | 69 | # Enable profiling support. Only required on Windows. | |
| 70 | 70 | 'v8_enable_prof%': 0, | |
| 71 | 71 | ||
| 72 | - # Some versions of GCC 4.5 seem to need -fno-strict-aliasing. | ||
| 73 | - 'v8_no_strict_aliasing%': 0, | ||
| 74 | - | ||
| 75 | 72 | # Chrome needs this definition unconditionally. For standalone V8 builds, | |
| 76 | 73 | # it's handled in gypfiles/standalone.gypi. | |
| 77 | 74 | 'want_separate_host_toolset%': 1, | |
@@ -674,14 +671,6 @@ | |||
| 674 | 671 | 'V8_ANDROID_LOG_STDOUT', | |
| 675 | 672 | ], | |
| 676 | 673 | }], | |
| 677 | - ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ | ||
| 678 | - or OS=="netbsd" or OS=="qnx" or OS=="aix" or OS=="os400"', { | ||
| 679 | - 'conditions': [ | ||
| 680 | - [ 'v8_no_strict_aliasing==1', { | ||
| 681 | - 'cflags': [ '-fno-strict-aliasing' ], | ||
| 682 | - }], | ||
| 683 | - ], # conditions | ||
| 684 | - }], | ||
| 685 | 674 | ['OS=="solaris"', { | |
| 686 | 675 | 'defines': [ '__C99FEATURES__=1' ], # isinf() etc. | |
| 687 | 676 | }], | |
@@ -838,7 +827,6 @@ | |||
| 838 | 827 | ['OS=="mac"', { | |
| 839 | 828 | 'xcode_settings': { | |
| 840 | 829 | 'GCC_OPTIMIZATION_LEVEL': '3', # -O3 | |
| 841 | - 'GCC_STRICT_ALIASING': 'YES', | ||
| 842 | 830 | }, | |
| 843 | 831 | }], | |
| 844 | 832 | ['v8_enable_slow_dchecks==1', { | |
@@ -897,12 +885,6 @@ | |||
| 897 | 885 | ['OS=="mac"', { | |
| 898 | 886 | 'xcode_settings': { | |
| 899 | 887 | 'GCC_OPTIMIZATION_LEVEL': '3', # -O3 | |
| 900 | - | ||
| 901 | - # -fstrict-aliasing. Mainline gcc | ||
| 902 | - # enables this at -O2 and above, | ||
| 903 | - # but Apple gcc does not unless it | ||
| 904 | - # is specified explicitly. | ||
| 905 | - 'GCC_STRICT_ALIASING': 'YES', | ||
| 906 | 888 | }, | |
| 907 | 889 | }], # OS=="mac" | |
| 908 | 890 | ['OS=="win"', { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments