| OLD | NEW |
| 1 # Copyright 2011 the V8 project authors. All rights reserved. | 1 # Copyright 2011 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 'cflags': [ | 107 'cflags': [ |
| 108 '-mfloat-abi=hard', | 108 '-mfloat-abi=hard', |
| 109 ], | 109 ], |
| 110 }, { | 110 }, { |
| 111 'defines': [ | 111 'defines': [ |
| 112 'USE_EABI_HARDFLOAT=0', | 112 'USE_EABI_HARDFLOAT=0', |
| 113 ], | 113 ], |
| 114 }], | 114 }], |
| 115 # The ARM assembler assumes the host is 32 bits, | 115 # The ARM assembler assumes the host is 32 bits, |
| 116 # so force building 32-bit host tools. | 116 # so force building 32-bit host tools. |
| 117 [ 'host_arch=="x64"', { | 117 [ 'host_arch=="x64" and _toolset=="host"', { |
| 118 'cflags': ['-m32'], | 118 'cflags': ['-m32'], |
| 119 'ldflags': ['-m32'], | 119 'ldflags': ['-m32'], |
| 120 }], | 120 }], |
| 121 ], | 121 ], |
| 122 }], | 122 }], |
| 123 ['v8_target_arch=="ia32"', { | 123 ['v8_target_arch=="ia32"', { |
| 124 'defines': [ | 124 'defines': [ |
| 125 'V8_TARGET_ARCH_IA32', | 125 'V8_TARGET_ARCH_IA32', |
| 126 ], | 126 ], |
| 127 }], | 127 }], |
| (...skipping 931 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1059 }], | 1059 }], |
| 1060 ], | 1060 ], |
| 1061 'dependencies': [ | 1061 'dependencies': [ |
| 1062 'v8' | 1062 'v8' |
| 1063 ], | 1063 ], |
| 1064 }, | 1064 }, |
| 1065 ], | 1065 ], |
| 1066 }], | 1066 }], |
| 1067 ], | 1067 ], |
| 1068 } | 1068 } |
| OLD | NEW |