| 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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 211 } | 211 } |
| 212 } | 212 } |
| 213 } | 213 } |
| 214 } | 214 } |
| 215 | 215 |
| 216 | 216 |
| 217 V8_EXTRA_FLAGS = { | 217 V8_EXTRA_FLAGS = { |
| 218 'gcc': { | 218 'gcc': { |
| 219 'all': { | 219 'all': { |
| 220 'CXXFLAGS': [], #['-fvisibility=hidden'], | 220 'CXXFLAGS': [], #['-fvisibility=hidden'], |
| 221 'WARNINGFLAGS': ['-Wall', '-Werror', '-W', | 221 'WARNINGFLAGS': ['-Wall', |
| 222 '-Wno-unused-parameter'] | 222 '-Werror', |
| 223 '-W', |
| 224 '-Wno-unused-parameter', |
| 225 '-Wnon-virtual-dtor'] |
| 223 }, | 226 }, |
| 224 'os:win32': { | 227 'os:win32': { |
| 225 'WARNINGFLAGS': ['-pedantic', '-Wno-long-long'] | 228 'WARNINGFLAGS': ['-pedantic', '-Wno-long-long'] |
| 226 }, | 229 }, |
| 227 'os:linux': { | 230 'os:linux': { |
| 228 'WARNINGFLAGS': ['-pedantic'], | 231 'WARNINGFLAGS': ['-pedantic'], |
| 229 'library:shared': { | 232 'library:shared': { |
| 230 'soname:on': { | 233 'soname:on': { |
| 231 'LINKFLAGS': ['-Wl,-soname,${SONAME}'] | 234 'LINKFLAGS': ['-Wl,-soname,${SONAME}'] |
| 232 } | 235 } |
| (...skipping 671 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 904 # version of scons. Also, there's a bug in some revisions that | 907 # version of scons. Also, there's a bug in some revisions that |
| 905 # doesn't allow this flag to be set, so we swallow any exceptions. | 908 # doesn't allow this flag to be set, so we swallow any exceptions. |
| 906 # Lovely. | 909 # Lovely. |
| 907 try: | 910 try: |
| 908 SetOption('warn', 'no-deprecated') | 911 SetOption('warn', 'no-deprecated') |
| 909 except: | 912 except: |
| 910 pass | 913 pass |
| 911 | 914 |
| 912 | 915 |
| 913 Build() | 916 Build() |
| OLD | NEW |