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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 'cflags': [ | 92 'cflags': [ |
93 '-mfloat-abi=hard', | 93 '-mfloat-abi=hard', |
94 ], | 94 ], |
95 }, { | 95 }, { |
96 'defines': [ | 96 'defines': [ |
97 'USE_EABI_HARDFLOAT=0', | 97 'USE_EABI_HARDFLOAT=0', |
98 ], | 98 ], |
99 }], | 99 }], |
100 # The ARM assembler assumes the host is 32 bits, | 100 # The ARM assembler assumes the host is 32 bits, |
101 # so force building 32-bit host tools. | 101 # so force building 32-bit host tools. |
102 [ 'host_arch=="x64"', { | 102 [ 'host_arch=="x64" and _toolset=="host "', { |
103 'cflags': ['-m32'], | 103 'cflags': ['-m32'], |
104 'ldflags': ['-m32'], | 104 'ldflags': ['-m32'], |
105 }], | 105 }], |
106 ], | 106 ], |
107 }], | 107 }], |
108 ['v8_target_arch=="ia32"', { | 108 ['v8_target_arch=="ia32"', { |
109 'defines': [ | 109 'defines': [ |
110 'V8_TARGET_ARCH_IA32', | 110 'V8_TARGET_ARCH_IA32', |
111 ], | 111 ], |
112 }], | 112 }], |
(...skipping 16 matching lines...) Expand all Loading... |
129 'DEBUG', | 129 'DEBUG', |
130 '_DEBUG', | 130 '_DEBUG', |
131 'ENABLE_DISASSEMBLER', | 131 'ENABLE_DISASSEMBLER', |
132 'V8_ENABLE_CHECKS', | 132 'V8_ENABLE_CHECKS', |
133 'OBJECT_PRINT', | 133 'OBJECT_PRINT', |
134 ], | 134 ], |
135 } | 135 } |
136 } | 136 } |
137 } | 137 } |
138 } | 138 } |
OLD | NEW |