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 457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
468 'LIBS': ['pthread'], | 468 'LIBS': ['pthread'], |
469 }, | 469 }, |
470 'os:macos': { | 470 'os:macos': { |
471 'LIBS': ['pthread'], | 471 'LIBS': ['pthread'], |
472 }, | 472 }, |
473 'os:freebsd': { | 473 'os:freebsd': { |
474 'LIBPATH' : ['/usr/local/lib'], | 474 'LIBPATH' : ['/usr/local/lib'], |
475 'LIBS': ['execinfo', 'pthread'] | 475 'LIBS': ['execinfo', 'pthread'] |
476 }, | 476 }, |
477 'os:solaris': { | 477 'os:solaris': { |
| 478 # On Solaris, to get isinf, INFINITY, fpclassify and other macros one |
| 479 # needs to define __C99FEATURES__. |
| 480 'CPPDEFINES': ['__C99FEATURES__'], |
478 'LIBPATH' : ['/usr/local/lib'], | 481 'LIBPATH' : ['/usr/local/lib'], |
479 'LIBS': ['m', 'pthread', 'socket', 'nsl', 'rt'], | 482 'LIBS': ['m', 'pthread', 'socket', 'nsl', 'rt'], |
480 'LINKFLAGS': ['-mt'] | 483 'LINKFLAGS': ['-mt'] |
481 }, | 484 }, |
482 'os:openbsd': { | 485 'os:openbsd': { |
483 'LIBPATH' : ['/usr/local/lib'], | 486 'LIBPATH' : ['/usr/local/lib'], |
484 'LIBS': ['execinfo', 'pthread'] | 487 'LIBS': ['execinfo', 'pthread'] |
485 }, | 488 }, |
486 'os:win32': { | 489 'os:win32': { |
487 'LIBS': ['winmm', 'ws2_32'] | 490 'LIBS': ['winmm', 'ws2_32'] |
(...skipping 992 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1480 # version of scons. Also, there's a bug in some revisions that | 1483 # version of scons. Also, there's a bug in some revisions that |
1481 # doesn't allow this flag to be set, so we swallow any exceptions. | 1484 # doesn't allow this flag to be set, so we swallow any exceptions. |
1482 # Lovely. | 1485 # Lovely. |
1483 try: | 1486 try: |
1484 SetOption('warn', 'no-deprecated') | 1487 SetOption('warn', 'no-deprecated') |
1485 except: | 1488 except: |
1486 pass | 1489 pass |
1487 | 1490 |
1488 | 1491 |
1489 Build() | 1492 Build() |
OLD | NEW |