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