Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Side by Side Diff: tools/gyp/configurations_make.gypi

Issue 1238003002: Force non-executable stack and enable stack canaries on Linux. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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': {
11 'Dart_Linux_Base': { 11 'Dart_Linux_Base': {
12 'abstract': 1, 12 'abstract': 1,
13 'cflags': [ 13 'cflags': [
14 '-Werror', 14 '-Werror',
15 '<@(common_gcc_warning_flags)', 15 '<@(common_gcc_warning_flags)',
16 '-Wnon-virtual-dtor', 16 '-Wnon-virtual-dtor',
17 '-Wvla', 17 '-Wvla',
18 '-Wno-conversion-null', 18 '-Wno-conversion-null',
19 '-Woverloaded-virtual', 19 '-Woverloaded-virtual',
20 '-g3', 20 '-g3',
21 '-ggdb3', 21 '-ggdb3',
22 # TODO(iposva): Figure out if we need to pass anything else. 22 # TODO(iposva): Figure out if we need to pass anything else.
23 #'-ansi', 23 #'-ansi',
24 '-fno-rtti', 24 '-fno-rtti',
25 '-fno-exceptions', 25 '-fno-exceptions',
26 # '-fvisibility=hidden', 26 # '-fvisibility=hidden',
27 # '-fvisibility-inlines-hidden', 27 # '-fvisibility-inlines-hidden',
28 '-fstack-protector',
29 ],
30 'ldflags': [
31 '-Wa,--noexecstack',
28 ], 32 ],
29 }, 33 },
30 34
31 'Dart_Linux_ia32_Base': { 35 'Dart_Linux_ia32_Base': {
32 'abstract': 1, 36 'abstract': 1,
33 'cflags': [ '-m32', '-msse2', '-mfpmath=sse' ], 37 'cflags': [ '-m32', '-msse2', '-mfpmath=sse' ],
34 'ldflags': [ '-m32', ], 38 'ldflags': [ '-m32', ],
35 'conditions': [ 39 'conditions': [
36 ['c_frame_pointers==1', { 40 ['c_frame_pointers==1', {
37 'cflags': [ 41 'cflags': [
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 ], 229 ],
226 }], 230 }],
227 ], 231 ],
228 'cflags': [ 232 'cflags': [
229 '-O3', 233 '-O3',
230 ], 234 ],
231 }, 235 },
232 }, 236 },
233 }, 237 },
234 } 238 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698