| OLD | NEW |
| 1 # Copyright 2010 the V8 project authors. All rights reserved. | 1 # Copyright 2010 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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 'os:macos': { | 167 'os:macos': { |
| 168 'CCFLAGS': ['-ansi', '-mmacosx-version-min=10.4'], | 168 'CCFLAGS': ['-ansi', '-mmacosx-version-min=10.4'], |
| 169 'library:shared': { | 169 'library:shared': { |
| 170 'CPPDEFINES': ['V8_SHARED'] | 170 'CPPDEFINES': ['V8_SHARED'] |
| 171 } | 171 } |
| 172 }, | 172 }, |
| 173 'os:freebsd': { | 173 'os:freebsd': { |
| 174 'CPPPATH' : ['/usr/local/include'], | 174 'CPPPATH' : ['/usr/local/include'], |
| 175 'LIBPATH' : ['/usr/local/lib'], | 175 'LIBPATH' : ['/usr/local/lib'], |
| 176 'CCFLAGS': ['-ansi'], | 176 'CCFLAGS': ['-ansi'], |
| 177 'LIBS': ['execinfo'] |
| 177 }, | 178 }, |
| 178 'os:openbsd': { | 179 'os:openbsd': { |
| 179 'CPPPATH' : ['/usr/local/include'], | 180 'CPPPATH' : ['/usr/local/include'], |
| 180 'LIBPATH' : ['/usr/local/lib'], | 181 'LIBPATH' : ['/usr/local/lib'], |
| 181 'CCFLAGS': ['-ansi'], | 182 'CCFLAGS': ['-ansi'], |
| 182 }, | 183 }, |
| 183 'os:solaris': { | 184 'os:solaris': { |
| 184 # On Solaris, to get isinf, INFINITY, fpclassify and other macros one | 185 # On Solaris, to get isinf, INFINITY, fpclassify and other macros one |
| 185 # needs to define __C99FEATURES__. | 186 # needs to define __C99FEATURES__. |
| 186 'CPPDEFINES': ['__C99FEATURES__'], | 187 'CPPDEFINES': ['__C99FEATURES__'], |
| (...skipping 996 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1183 # version of scons. Also, there's a bug in some revisions that | 1184 # version of scons. Also, there's a bug in some revisions that |
| 1184 # doesn't allow this flag to be set, so we swallow any exceptions. | 1185 # doesn't allow this flag to be set, so we swallow any exceptions. |
| 1185 # Lovely. | 1186 # Lovely. |
| 1186 try: | 1187 try: |
| 1187 SetOption('warn', 'no-deprecated') | 1188 SetOption('warn', 'no-deprecated') |
| 1188 except: | 1189 except: |
| 1189 pass | 1190 pass |
| 1190 | 1191 |
| 1191 | 1192 |
| 1192 Build() | 1193 Build() |
| OLD | NEW |