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 694 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
705 'CPPDEFINES': ['__mips_hard_float=1'], | 705 'CPPDEFINES': ['__mips_hard_float=1'], |
706 } | 706 } |
707 }, | 707 }, |
708 'mode:release': { | 708 'mode:release': { |
709 'CCFLAGS': ['-O2'] | 709 'CCFLAGS': ['-O2'] |
710 }, | 710 }, |
711 'mode:debug': { | 711 'mode:debug': { |
712 'CCFLAGS': ['-g', '-O0'], | 712 'CCFLAGS': ['-g', '-O0'], |
713 'CPPDEFINES': ['DEBUG'] | 713 'CPPDEFINES': ['DEBUG'] |
714 }, | 714 }, |
| 715 'os:freebsd': { |
| 716 'LIBPATH' : ['/usr/local/lib'], |
| 717 }, |
715 }, | 718 }, |
716 'msvc': { | 719 'msvc': { |
717 'all': { | 720 'all': { |
718 'LIBS': ['winmm', 'ws2_32'] | 721 'LIBS': ['winmm', 'ws2_32'] |
719 }, | 722 }, |
720 'verbose:off': { | 723 'verbose:off': { |
721 'CCFLAGS': ['/nologo'], | 724 'CCFLAGS': ['/nologo'], |
722 'LINKFLAGS': ['/NOLOGO'] | 725 'LINKFLAGS': ['/NOLOGO'] |
723 }, | 726 }, |
724 'verbose:on': { | 727 'verbose:on': { |
(...skipping 752 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1477 # version of scons. Also, there's a bug in some revisions that | 1480 # version of scons. Also, there's a bug in some revisions that |
1478 # doesn't allow this flag to be set, so we swallow any exceptions. | 1481 # doesn't allow this flag to be set, so we swallow any exceptions. |
1479 # Lovely. | 1482 # Lovely. |
1480 try: | 1483 try: |
1481 SetOption('warn', 'no-deprecated') | 1484 SetOption('warn', 'no-deprecated') |
1482 except: | 1485 except: |
1483 pass | 1486 pass |
1484 | 1487 |
1485 | 1488 |
1486 Build() | 1489 Build() |
OLD | NEW |