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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 'DIALECTFLAGS': ['-ansi'], | 45 'DIALECTFLAGS': ['-ansi'], |
46 'CCFLAGS': ['$DIALECTFLAGS', '$WARNINGFLAGS'], | 46 'CCFLAGS': ['$DIALECTFLAGS', '$WARNINGFLAGS'], |
47 'CXXFLAGS': ['$CCFLAGS', '-fno-rtti', '-fno-exceptions'], | 47 'CXXFLAGS': ['$CCFLAGS', '-fno-rtti', '-fno-exceptions'], |
48 'LIBS': ['pthread'] | 48 'LIBS': ['pthread'] |
49 }, | 49 }, |
50 'mode:debug': { | 50 'mode:debug': { |
51 'CCFLAGS': ['-g', '-O0'], | 51 'CCFLAGS': ['-g', '-O0'], |
52 'CPPDEFINES': ['ENABLE_DISASSEMBLER', 'DEBUG'] | 52 'CPPDEFINES': ['ENABLE_DISASSEMBLER', 'DEBUG'] |
53 }, | 53 }, |
54 'mode:release': { | 54 'mode:release': { |
55 'CCFLAGS': ['-O3'] | 55 'CCFLAGS': ['-O3', '-fomit-frame-pointer'] |
56 }, | 56 }, |
57 'wordsize:64': { | 57 'wordsize:64': { |
58 'CCFLAGS': ['-m32'], | 58 'CCFLAGS': ['-m32'], |
59 'LINKFLAGS': ['-m32'] | 59 'LINKFLAGS': ['-m32'] |
60 } | 60 } |
61 }, | 61 }, |
62 'msvc': { | 62 'msvc': { |
63 'all': { | 63 'all': { |
64 'DIALECTFLAGS': ['/nologo'], | 64 'DIALECTFLAGS': ['/nologo'], |
65 'CCFLAGS': ['$DIALECTFLAGS', '$WARNINGFLAGS'], | 65 'CCFLAGS': ['$DIALECTFLAGS', '$WARNINGFLAGS'], |
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
542 # version of scons. Also, there's a bug in some revisions that | 542 # version of scons. Also, there's a bug in some revisions that |
543 # doesn't allow this flag to be set, so we swallow any exceptions. | 543 # doesn't allow this flag to be set, so we swallow any exceptions. |
544 # Lovely. | 544 # Lovely. |
545 try: | 545 try: |
546 SetOption('warn', 'no-deprecated') | 546 SetOption('warn', 'no-deprecated') |
547 except: | 547 except: |
548 pass | 548 pass |
549 | 549 |
550 | 550 |
551 Build() | 551 Build() |
OLD | NEW |