OLD | NEW |
1 # Copyright 2008 the V8 project authors. All rights reserved. | 1 # Copyright 2008 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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 'LINKFLAGS': ['-m32'] | 165 'LINKFLAGS': ['-m32'] |
166 } | 166 } |
167 }, | 167 }, |
168 'arch:ia32': { | 168 'arch:ia32': { |
169 'CPPDEFINES': ['V8_TARGET_ARCH_IA32'] | 169 'CPPDEFINES': ['V8_TARGET_ARCH_IA32'] |
170 }, | 170 }, |
171 'arch:arm': { | 171 'arch:arm': { |
172 'CPPDEFINES': ['V8_TARGET_ARCH_ARM'] | 172 'CPPDEFINES': ['V8_TARGET_ARCH_ARM'] |
173 }, | 173 }, |
174 'arch:x64': { | 174 'arch:x64': { |
| 175 'CCFLAGS': ['-fno-strict-aliasing'], |
175 'CPPDEFINES': ['V8_TARGET_ARCH_X64'] | 176 'CPPDEFINES': ['V8_TARGET_ARCH_X64'] |
176 }, | 177 }, |
177 'prof:oprofile': { | 178 'prof:oprofile': { |
178 'CPPDEFINES': ['ENABLE_OPROFILE_AGENT'] | 179 'CPPDEFINES': ['ENABLE_OPROFILE_AGENT'] |
179 } | 180 } |
180 }, | 181 }, |
181 'msvc': { | 182 'msvc': { |
182 'all': { | 183 'all': { |
183 'DIALECTFLAGS': ['/nologo'], | 184 'DIALECTFLAGS': ['/nologo'], |
184 'CCFLAGS': ['$DIALECTFLAGS', '$WARNINGFLAGS'], | 185 'CCFLAGS': ['$DIALECTFLAGS', '$WARNINGFLAGS'], |
(...skipping 753 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
938 # version of scons. Also, there's a bug in some revisions that | 939 # version of scons. Also, there's a bug in some revisions that |
939 # doesn't allow this flag to be set, so we swallow any exceptions. | 940 # doesn't allow this flag to be set, so we swallow any exceptions. |
940 # Lovely. | 941 # Lovely. |
941 try: | 942 try: |
942 SetOption('warn', 'no-deprecated') | 943 SetOption('warn', 'no-deprecated') |
943 except: | 944 except: |
944 pass | 945 pass |
945 | 946 |
946 | 947 |
947 Build() | 948 Build() |
OLD | NEW |