OLD | NEW |
1 # Copyright 2011 the V8 project authors. All rights reserved. | 1 # Copyright 2011 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 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
391 CCTEST_EXTRA_FLAGS = { | 391 CCTEST_EXTRA_FLAGS = { |
392 'all': { | 392 'all': { |
393 'CPPPATH': [join(root_dir, 'src')], | 393 'CPPPATH': [join(root_dir, 'src')], |
394 'library:shared': { | 394 'library:shared': { |
395 'CPPDEFINES': ['USING_V8_SHARED'] | 395 'CPPDEFINES': ['USING_V8_SHARED'] |
396 }, | 396 }, |
397 }, | 397 }, |
398 'gcc': { | 398 'gcc': { |
399 'all': { | 399 'all': { |
400 'LIBPATH': [abspath('.')], | 400 'LIBPATH': [abspath('.')], |
401 'CCFLAGS': ['$DIALECTFLAGS', '$WARNINGFLAGS'], | 401 'CCFLAGS': ['$DIALECTFLAGS', '$WARNINGFLAGS', |
| 402 '-Wno-unused-but-set-variable'], |
402 'CXXFLAGS': ['-fno-rtti', '-fno-exceptions'], | 403 'CXXFLAGS': ['-fno-rtti', '-fno-exceptions'], |
403 'LINKFLAGS': ['$CCFLAGS'], | 404 'LINKFLAGS': ['$CCFLAGS'], |
404 }, | 405 }, |
405 'os:linux': { | 406 'os:linux': { |
406 'LIBS': ['pthread'], | 407 'LIBS': ['pthread'], |
407 }, | 408 }, |
408 'os:macos': { | 409 'os:macos': { |
409 'LIBS': ['pthread'], | 410 'LIBS': ['pthread'], |
410 }, | 411 }, |
411 'os:freebsd': { | 412 'os:freebsd': { |
(...skipping 1063 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1475 # version of scons. Also, there's a bug in some revisions that | 1476 # version of scons. Also, there's a bug in some revisions that |
1476 # doesn't allow this flag to be set, so we swallow any exceptions. | 1477 # doesn't allow this flag to be set, so we swallow any exceptions. |
1477 # Lovely. | 1478 # Lovely. |
1478 try: | 1479 try: |
1479 SetOption('warn', 'no-deprecated') | 1480 SetOption('warn', 'no-deprecated') |
1480 except: | 1481 except: |
1481 pass | 1482 pass |
1482 | 1483 |
1483 | 1484 |
1484 Build() | 1485 Build() |
OLD | NEW |