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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 'mode:release': { | 190 'mode:release': { |
191 'CCFLAGS': ['-O2'] | 191 'CCFLAGS': ['-O2'] |
192 }, | 192 }, |
193 'mode:debug': { | 193 'mode:debug': { |
194 'CCFLAGS': ['-g', '-O0'] | 194 'CCFLAGS': ['-g', '-O0'] |
195 } | 195 } |
196 }, | 196 }, |
197 'msvc': { | 197 'msvc': { |
198 'all': { | 198 'all': { |
199 'CCFLAGS': ['/nologo'], | 199 'CCFLAGS': ['/nologo'], |
| 200 'LINKFLAGS': ['/nologo'], |
200 }, | 201 }, |
201 'library:shared': { | 202 'library:shared': { |
202 'CPPDEFINES': ['USING_V8_SHARED'] | 203 'CPPDEFINES': ['USING_V8_SHARED'] |
203 }, | 204 }, |
204 'prof:on': { | 205 'prof:on': { |
205 'LINKFLAGS': ['/MAP'] | 206 'LINKFLAGS': ['/MAP'] |
206 }, | 207 }, |
207 'mode:release': { | 208 'mode:release': { |
208 'CCFLAGS': ['/O2', '/MT'], | 209 'CCFLAGS': ['/O2', '/MT'], |
209 'LINKFLAGS': ['/OPT:REF', '/OPT:ICF', '/LTCG'] | 210 'LINKFLAGS': ['/OPT:REF', '/OPT:ICF', '/LTCG'] |
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
568 # version of scons. Also, there's a bug in some revisions that | 569 # version of scons. Also, there's a bug in some revisions that |
569 # doesn't allow this flag to be set, so we swallow any exceptions. | 570 # doesn't allow this flag to be set, so we swallow any exceptions. |
570 # Lovely. | 571 # Lovely. |
571 try: | 572 try: |
572 SetOption('warn', 'no-deprecated') | 573 SetOption('warn', 'no-deprecated') |
573 except: | 574 except: |
574 pass | 575 pass |
575 | 576 |
576 | 577 |
577 Build() | 578 Build() |
OLD | NEW |