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 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 }, | 231 }, |
232 'os:freebsd': { | 232 'os:freebsd': { |
233 'LIBS': ['pthread'], | 233 'LIBS': ['pthread'], |
234 }, | 234 }, |
235 'os:win32': { | 235 'os:win32': { |
236 'LIBS': ['winmm', 'ws2_32'], | 236 'LIBS': ['winmm', 'ws2_32'], |
237 }, | 237 }, |
238 }, | 238 }, |
239 'msvc': { | 239 'msvc': { |
240 'all': { | 240 'all': { |
| 241 'CPPDEFINES': ['_HAS_EXCEPTIONS=0'], |
241 'LIBS': ['winmm', 'ws2_32'] | 242 'LIBS': ['winmm', 'ws2_32'] |
242 } | 243 } |
243 } | 244 } |
244 } | 245 } |
245 | 246 |
246 | 247 |
247 DTOA_EXTRA_FLAGS = { | 248 DTOA_EXTRA_FLAGS = { |
248 'gcc': { | 249 'gcc': { |
249 'all': { | 250 'all': { |
250 'WARNINGFLAGS': ['-Werror', '-Wno-uninitialized'] | 251 'WARNINGFLAGS': ['-Werror', '-Wno-uninitialized'] |
(...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
766 # version of scons. Also, there's a bug in some revisions that | 767 # version of scons. Also, there's a bug in some revisions that |
767 # doesn't allow this flag to be set, so we swallow any exceptions. | 768 # doesn't allow this flag to be set, so we swallow any exceptions. |
768 # Lovely. | 769 # Lovely. |
769 try: | 770 try: |
770 SetOption('warn', 'no-deprecated') | 771 SetOption('warn', 'no-deprecated') |
771 except: | 772 except: |
772 pass | 773 pass |
773 | 774 |
774 | 775 |
775 Build() | 776 Build() |
OLD | NEW |