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

Side by Side Diff: tools/gyp/v8.gyp

Issue 439014: Remove -Os from gyp C++ flags if it exists, since v8 uses -O3. (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 11 years, 1 month 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 | Annotate | Revision Log
« 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 2009 the V8 project authors. All rights reserved. 1 # Copyright 2009 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 'VCLinkerTool': { 74 'VCLinkerTool': {
75 'LinkIncremental': '2', 75 'LinkIncremental': '2',
76 }, 76 },
77 }, 77 },
78 }, 78 },
79 'Release': { 79 'Release': {
80 'conditions': [ 80 'conditions': [
81 ['OS=="linux"', { 81 ['OS=="linux"', {
82 'cflags!': [ 82 'cflags!': [
83 '-O2', 83 '-O2',
84 '-Os',
84 ], 85 ],
85 'cflags': [ 86 'cflags': [
86 '-fomit-frame-pointer', 87 '-fomit-frame-pointer',
87 '-O3', 88 '-O3',
Evan Martin 2009/11/24 18:12:30 Here, you can see that -O3 is introduced. So the
88 ], 89 ],
89 'conditions': [ 90 'conditions': [
90 [ 'gcc_version==44', { 91 [ 'gcc_version==44', {
91 'cflags': [ 92 'cflags': [
92 # Avoid gcc 4.4 strict aliasing issues in dtoa.c 93 # Avoid gcc 4.4 strict aliasing issues in dtoa.c
93 '-fno-strict-aliasing', 94 '-fno-strict-aliasing',
94 # Avoid crashes with gcc 4.4 in the v8 test suite. 95 # Avoid crashes with gcc 4.4 in the v8 test suite.
95 '-fno-tree-vrp', 96 '-fno-tree-vrp',
96 ], 97 ],
97 }], 98 }],
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after
571 ], 572 ],
572 'conditions': [ 573 'conditions': [
573 [ 'OS=="win"', { 574 [ 'OS=="win"', {
574 # This could be gotten by not setting chromium_code, if that's OK. 575 # This could be gotten by not setting chromium_code, if that's OK.
575 'defines': ['_CRT_SECURE_NO_WARNINGS'], 576 'defines': ['_CRT_SECURE_NO_WARNINGS'],
576 }], 577 }],
577 ], 578 ],
578 }, 579 },
579 ], 580 ],
580 } 581 }
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