OLD | NEW |
1 # Copyright 2013 the V8 project authors. All rights reserved. | 1 # Copyright 2013 the V8 project authors. All rights reserved. |
2 # Redistribution and use in source and binary forms, with or without | 2 # Redistribution and use in source and binary forms, with or without |
3 # modification, are permitted provided that the following conditions are | 3 # modification, are permitted provided that the following conditions are |
4 # met: | 4 # met: |
5 # | 5 # |
6 # * Redistributions of source code must retain the above copyright | 6 # * Redistributions of source code must retain the above copyright |
7 # notice, this list of conditions and the following disclaimer. | 7 # notice, this list of conditions and the following disclaimer. |
8 # * Redistributions in binary form must reproduce the above | 8 # * Redistributions in binary form must reproduce the above |
9 # copyright notice, this list of conditions and the following | 9 # copyright notice, this list of conditions and the following |
10 # disclaimer in the documentation and/or other materials provided | 10 # disclaimer in the documentation and/or other materials provided |
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
362 'defines': [ | 362 'defines': [ |
363 '__mips_soft_float=1' | 363 '__mips_soft_float=1' |
364 ] | 364 ] |
365 }], | 365 }], |
366 ], | 366 ], |
367 'target_conditions': [ | 367 'target_conditions': [ |
368 ['_toolset=="target"', { | 368 ['_toolset=="target"', { |
369 'conditions': [ | 369 'conditions': [ |
370 ['v8_target_arch==target_arch and android_webview_build==0', { | 370 ['v8_target_arch==target_arch and android_webview_build==0', { |
371 # Target built with a Mips CXX compiler. | 371 # Target built with a Mips CXX compiler. |
372 'cflags': ['-EB'], | 372 'cflags': [ |
| 373 '-EB', |
| 374 '-Wno-error=array-bounds', # Workaround https://gcc.gnu.org/b
ugzilla/show_bug.cgi?id=56273 |
| 375 ], |
373 'ldflags': ['-EB'], | 376 'ldflags': ['-EB'], |
374 'conditions': [ | 377 'conditions': [ |
375 [ 'v8_use_mips_abi_hardfloat=="true"', { | 378 [ 'v8_use_mips_abi_hardfloat=="true"', { |
376 'cflags': ['-mhard-float'], | 379 'cflags': ['-mhard-float'], |
377 'ldflags': ['-mhard-float'], | 380 'ldflags': ['-mhard-float'], |
378 }, { | 381 }, { |
379 'cflags': ['-msoft-float'], | 382 'cflags': ['-msoft-float'], |
380 'ldflags': ['-msoft-float'], | 383 'ldflags': ['-msoft-float'], |
381 }], | 384 }], |
382 ['mips_arch_variant=="r6"', { | 385 ['mips_arch_variant=="r6"', { |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
546 'defines': [ | 549 'defines': [ |
547 '__mips_soft_float=1' | 550 '__mips_soft_float=1' |
548 ], | 551 ], |
549 }], | 552 }], |
550 ], | 553 ], |
551 'target_conditions': [ | 554 'target_conditions': [ |
552 ['_toolset=="target"', { | 555 ['_toolset=="target"', { |
553 'conditions': [ | 556 'conditions': [ |
554 ['v8_target_arch==target_arch and android_webview_build==0', { | 557 ['v8_target_arch==target_arch and android_webview_build==0', { |
555 # Target built with a Mips CXX compiler. | 558 # Target built with a Mips CXX compiler. |
556 'cflags': ['-EL'], | 559 'cflags': [ |
| 560 '-EL', |
| 561 '-Wno-error=array-bounds', # Workaround https://gcc.gnu.org/b
ugzilla/show_bug.cgi?id=56273 |
| 562 ], |
557 'ldflags': ['-EL'], | 563 'ldflags': ['-EL'], |
558 'conditions': [ | 564 'conditions': [ |
559 [ 'v8_use_mips_abi_hardfloat=="true"', { | 565 [ 'v8_use_mips_abi_hardfloat=="true"', { |
560 'cflags': ['-mhard-float'], | 566 'cflags': ['-mhard-float'], |
561 'ldflags': ['-mhard-float'], | 567 'ldflags': ['-mhard-float'], |
562 }, { | 568 }, { |
563 'cflags': ['-msoft-float'], | 569 'cflags': ['-msoft-float'], |
564 'ldflags': ['-msoft-float'], | 570 'ldflags': ['-msoft-float'], |
565 }], | 571 }], |
566 ['mips_arch_variant=="r6"', { | 572 ['mips_arch_variant=="r6"', { |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
746 }, { | 752 }, { |
747 'defines': [ | 753 'defines': [ |
748 '__mips_soft_float=1' | 754 '__mips_soft_float=1' |
749 ], | 755 ], |
750 }], | 756 }], |
751 ], | 757 ], |
752 'target_conditions': [ | 758 'target_conditions': [ |
753 ['_toolset=="target"', { | 759 ['_toolset=="target"', { |
754 'conditions': [ | 760 'conditions': [ |
755 ['v8_target_arch==target_arch and android_webview_build==0', { | 761 ['v8_target_arch==target_arch and android_webview_build==0', { |
756 'cflags': ['-EL'], | 762 'cflags': [ |
| 763 '-EL', |
| 764 '-Wno-error=array-bounds', # Workaround https://gcc.gnu.org/b
ugzilla/show_bug.cgi?id=56273 |
| 765 ], |
757 'ldflags': ['-EL'], | 766 'ldflags': ['-EL'], |
758 'conditions': [ | 767 'conditions': [ |
759 [ 'v8_use_mips_abi_hardfloat=="true"', { | 768 [ 'v8_use_mips_abi_hardfloat=="true"', { |
760 'cflags': ['-mhard-float'], | 769 'cflags': ['-mhard-float'], |
761 'ldflags': ['-mhard-float'], | 770 'ldflags': ['-mhard-float'], |
762 }, { | 771 }, { |
763 'cflags': ['-msoft-float'], | 772 'cflags': ['-msoft-float'], |
764 'ldflags': ['-msoft-float'], | 773 'ldflags': ['-msoft-float'], |
765 }], | 774 }], |
766 ['mips_arch_variant=="r6"', { | 775 ['mips_arch_variant=="r6"', { |
(...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1246 ['v8_enable_slow_dchecks==1', { | 1255 ['v8_enable_slow_dchecks==1', { |
1247 'defines': [ | 1256 'defines': [ |
1248 'ENABLE_SLOW_DCHECKS', | 1257 'ENABLE_SLOW_DCHECKS', |
1249 ], | 1258 ], |
1250 }], | 1259 }], |
1251 ], # conditions | 1260 ], # conditions |
1252 }, # Release | 1261 }, # Release |
1253 }, # configurations | 1262 }, # configurations |
1254 }, # target_defaults | 1263 }, # target_defaults |
1255 } | 1264 } |
OLD | NEW |