OLD | NEW |
1 # Copyright 2012 the V8 project authors. All rights reserved. | 1 # Copyright 2012 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 'Debug': { | 84 'Debug': { |
85 'cflags': [ '-g', '-O0' ], | 85 'cflags': [ '-g', '-O0' ], |
86 }, | 86 }, |
87 }, | 87 }, |
88 }, | 88 }, |
89 'conditions': [ | 89 'conditions': [ |
90 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ | 90 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ |
91 or OS=="netbsd"', { | 91 or OS=="netbsd"', { |
92 'target_defaults': { | 92 'target_defaults': { |
93 'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter', | 93 'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter', |
| 94 '-Wno-unused-local-typedefs', |
94 '-Wnon-virtual-dtor', '-pthread', '-fno-rtti', | 95 '-Wnon-virtual-dtor', '-pthread', '-fno-rtti', |
95 '-fno-exceptions', '-pedantic' ], | 96 '-fno-exceptions', '-pedantic' ], |
96 'ldflags': [ '-pthread', ], | 97 'ldflags': [ '-pthread', ], |
97 'conditions': [ | 98 'conditions': [ |
98 [ 'OS=="linux"', { | 99 [ 'OS=="linux"', { |
99 'cflags': [ '-ansi' ], | 100 'cflags': [ '-ansi' ], |
100 }], | 101 }], |
101 [ 'visibility=="hidden"', { | 102 [ 'visibility=="hidden"', { |
102 'cflags': [ '-fvisibility=hidden' ], | 103 'cflags': [ '-fvisibility=hidden' ], |
103 }], | 104 }], |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 }, | 209 }, |
209 'target_conditions': [ | 210 'target_conditions': [ |
210 ['_type!="static_library"', { | 211 ['_type!="static_library"', { |
211 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, | 212 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, |
212 }], | 213 }], |
213 ], # target_conditions | 214 ], # target_conditions |
214 }, # target_defaults | 215 }, # target_defaults |
215 }], # OS=="mac" | 216 }], # OS=="mac" |
216 ], | 217 ], |
217 } | 218 } |
OLD | NEW |