OLD | NEW |
1 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
2 # for details. All rights reserved. Use of this source code is governed by a | 2 # for details. All rights reserved. Use of this source code is governed by a |
3 # BSD-style license that can be found in the LICENSE file. | 3 # BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'dart_debug_optimization_level%': '2', | 7 'dart_debug_optimization_level%': '2', |
8 }, | 8 }, |
9 'target_defaults': { | 9 'target_defaults': { |
10 'configurations': { | 10 'configurations': { |
(...skipping 11 matching lines...) Expand all Loading... |
22 '-Woverloaded-virtual', | 22 '-Woverloaded-virtual', |
23 '-g3', | 23 '-g3', |
24 '-ggdb3', | 24 '-ggdb3', |
25 # TODO(iposva): Figure out if we need to pass anything else. | 25 # TODO(iposva): Figure out if we need to pass anything else. |
26 #'-ansi', | 26 #'-ansi', |
27 '-fno-rtti', | 27 '-fno-rtti', |
28 '-fno-exceptions', | 28 '-fno-exceptions', |
29 # '-fvisibility=hidden', | 29 # '-fvisibility=hidden', |
30 # '-fvisibility-inlines-hidden', | 30 # '-fvisibility-inlines-hidden', |
31 '-fstack-protector', | 31 '-fstack-protector', |
| 32 '-Wa,--noexecstack', |
32 ], | 33 ], |
33 'ldflags': [ | 34 'ldflags': [ |
34 '-Wa,--noexecstack', | 35 '-Wl,-z,noexecstack', |
35 '-Wl,-z,now', | 36 '-Wl,-z,now', |
36 '-Wl,-z,relro', | 37 '-Wl,-z,relro', |
37 ], | 38 ], |
38 }, | 39 }, |
39 | 40 |
40 'Dart_Linux_ia32_Base': { | 41 'Dart_Linux_ia32_Base': { |
41 'abstract': 1, | 42 'abstract': 1, |
42 'cflags': [ '-m32', '-msse2', '-mfpmath=sse' ], | 43 'cflags': [ '-m32', '-msse2', '-mfpmath=sse' ], |
43 'ldflags': [ '-m32', ], | 44 'ldflags': [ '-m32', ], |
44 'conditions': [ | 45 'conditions': [ |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 '-O3', | 239 '-O3', |
239 '-ffunction-sections', | 240 '-ffunction-sections', |
240 ], | 241 ], |
241 'ldflags': [ | 242 'ldflags': [ |
242 '-Wl,--gc-sections', | 243 '-Wl,--gc-sections', |
243 ], | 244 ], |
244 }, | 245 }, |
245 }, | 246 }, |
246 }, | 247 }, |
247 } | 248 } |
OLD | NEW |