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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 }, | 96 }, |
97 'mode:release': { | 97 'mode:release': { |
98 'CCFLAGS': ['-O3', '-fomit-frame-pointer', '-fdata-sections', | 98 'CCFLAGS': ['-O3', '-fomit-frame-pointer', '-fdata-sections', |
99 '-ffunction-sections'], | 99 '-ffunction-sections'], |
100 'os:android': { | 100 'os:android': { |
101 'CPPDEFINES': ['SK_RELEASE', 'NDEBUG'] | 101 'CPPDEFINES': ['SK_RELEASE', 'NDEBUG'] |
102 } | 102 } |
103 }, | 103 }, |
104 'os:linux': { | 104 'os:linux': { |
105 'CCFLAGS': ['-ansi'], | 105 'CCFLAGS': ['-ansi'], |
| 106 'library:shared': { |
| 107 'LIBS': ['pthread', 'rt'] |
| 108 } |
106 }, | 109 }, |
107 'os:macos': { | 110 'os:macos': { |
108 'CCFLAGS': ['-ansi'], | 111 'CCFLAGS': ['-ansi'], |
109 }, | 112 }, |
110 'os:freebsd': { | 113 'os:freebsd': { |
111 'CCFLAGS': ['-ansi'], | 114 'CCFLAGS': ['-ansi'], |
112 }, | 115 }, |
113 'os:win32': { | 116 'os:win32': { |
114 'CCFLAGS': ['-DWIN32'], | 117 'CCFLAGS': ['-DWIN32'], |
115 'CXXFLAGS': ['-DWIN32'], | 118 'CXXFLAGS': ['-DWIN32'], |
(...skipping 638 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
754 # version of scons. Also, there's a bug in some revisions that | 757 # version of scons. Also, there's a bug in some revisions that |
755 # doesn't allow this flag to be set, so we swallow any exceptions. | 758 # doesn't allow this flag to be set, so we swallow any exceptions. |
756 # Lovely. | 759 # Lovely. |
757 try: | 760 try: |
758 SetOption('warn', 'no-deprecated') | 761 SetOption('warn', 'no-deprecated') |
759 except: | 762 except: |
760 pass | 763 pass |
761 | 764 |
762 | 765 |
763 Build() | 766 Build() |
OLD | NEW |