| 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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 }, | 136 }, |
| 137 'os:linux': { | 137 'os:linux': { |
| 138 'CCFLAGS': ['-ansi'] + GCC_EXTRA_CCFLAGS, | 138 'CCFLAGS': ['-ansi'] + GCC_EXTRA_CCFLAGS, |
| 139 'library:shared': { | 139 'library:shared': { |
| 140 'CPPDEFINES': ['V8_SHARED'], | 140 'CPPDEFINES': ['V8_SHARED'], |
| 141 'LIBS': ['pthread'] | 141 'LIBS': ['pthread'] |
| 142 } | 142 } |
| 143 }, | 143 }, |
| 144 'os:macos': { | 144 'os:macos': { |
| 145 'CCFLAGS': ['-ansi', '-mmacosx-version-min=10.4'], | 145 'CCFLAGS': ['-ansi', '-mmacosx-version-min=10.4'], |
| 146 'library:shared': { |
| 147 'CPPDEFINES': ['V8_SHARED'] |
| 148 } |
| 146 }, | 149 }, |
| 147 'os:freebsd': { | 150 'os:freebsd': { |
| 148 'CPPPATH' : ['/usr/local/include'], | 151 'CPPPATH' : ['/usr/local/include'], |
| 149 'LIBPATH' : ['/usr/local/lib'], | 152 'LIBPATH' : ['/usr/local/lib'], |
| 150 'CCFLAGS': ['-ansi'], | 153 'CCFLAGS': ['-ansi'], |
| 151 }, | 154 }, |
| 152 'os:openbsd': { | 155 'os:openbsd': { |
| 153 'CPPPATH' : ['/usr/local/include'], | 156 'CPPPATH' : ['/usr/local/include'], |
| 154 'LIBPATH' : ['/usr/local/lib'], | 157 'LIBPATH' : ['/usr/local/lib'], |
| 155 'CCFLAGS': ['-ansi'], | 158 'CCFLAGS': ['-ansi'], |
| (...skipping 859 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1015 # version of scons. Also, there's a bug in some revisions that | 1018 # version of scons. Also, there's a bug in some revisions that |
| 1016 # doesn't allow this flag to be set, so we swallow any exceptions. | 1019 # doesn't allow this flag to be set, so we swallow any exceptions. |
| 1017 # Lovely. | 1020 # Lovely. |
| 1018 try: | 1021 try: |
| 1019 SetOption('warn', 'no-deprecated') | 1022 SetOption('warn', 'no-deprecated') |
| 1020 except: | 1023 except: |
| 1021 pass | 1024 pass |
| 1022 | 1025 |
| 1023 | 1026 |
| 1024 Build() | 1027 Build() |
| OLD | NEW |