OLD | NEW |
1 # Copyright 2012 the V8 project authors. All rights reserved. | 1 # Copyright 2012 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 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
293 'gcc': { | 293 'gcc': { |
294 'all': { | 294 'all': { |
295 'WARNINGFLAGS': ['-Wall', | 295 'WARNINGFLAGS': ['-Wall', |
296 '-Werror', | 296 '-Werror', |
297 '-W', | 297 '-W', |
298 '-Wno-unused-parameter', | 298 '-Wno-unused-parameter', |
299 '-Woverloaded-virtual', | 299 '-Woverloaded-virtual', |
300 '-Wnon-virtual-dtor'] | 300 '-Wnon-virtual-dtor'] |
301 }, | 301 }, |
302 'os:win32': { | 302 'os:win32': { |
303 'WARNINGFLAGS': ['-pedantic', '-Wno-long-long', '-Wno-pedantic-ms-format'] | 303 'WARNINGFLAGS': ['-pedantic', |
| 304 '-Wno-long-long', |
| 305 '-Wno-pedantic-ms-format'], |
| 306 'library:shared': { |
| 307 'LIBS': ['winmm', 'ws2_32'] |
| 308 } |
304 }, | 309 }, |
305 'os:linux': { | 310 'os:linux': { |
306 'WARNINGFLAGS': ['-pedantic'], | 311 'WARNINGFLAGS': ['-pedantic'], |
307 'library:shared': { | 312 'library:shared': { |
308 'soname:on': { | 313 'soname:on': { |
309 'LINKFLAGS': ['-Wl,-soname,${SONAME}'] | 314 'LINKFLAGS': ['-Wl,-soname,${SONAME}'] |
310 } | 315 } |
311 } | 316 } |
312 }, | 317 }, |
313 'os:macos': { | 318 'os:macos': { |
(...skipping 1247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1561 # version of scons. Also, there's a bug in some revisions that | 1566 # version of scons. Also, there's a bug in some revisions that |
1562 # doesn't allow this flag to be set, so we swallow any exceptions. | 1567 # doesn't allow this flag to be set, so we swallow any exceptions. |
1563 # Lovely. | 1568 # Lovely. |
1564 try: | 1569 try: |
1565 SetOption('warn', 'no-deprecated') | 1570 SetOption('warn', 'no-deprecated') |
1566 except: | 1571 except: |
1567 pass | 1572 pass |
1568 | 1573 |
1569 | 1574 |
1570 Build() | 1575 Build() |
OLD | NEW |