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

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

Issue 3117007: Allow compiling with strict aliasing enabled on GCC 4.4. (Closed)
Patch Set: Created 10 years, 4 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 | « src/x64/assembler-x64.cc ('k') | 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 '-O2', 101 '-O2',
102 '-Os', 102 '-Os',
103 ], 103 ],
104 'cflags': [ 104 'cflags': [
105 '-fomit-frame-pointer', 105 '-fomit-frame-pointer',
106 '-O3', 106 '-O3',
107 ], 107 ],
108 'conditions': [ 108 'conditions': [
109 [ 'gcc_version==44', { 109 [ 'gcc_version==44', {
110 'cflags': [ 110 'cflags': [
111 # Avoid gcc 4.4 strict aliasing issues in dtoa.c
112 '-fno-strict-aliasing',
113 # Avoid crashes with gcc 4.4 in the v8 test suite. 111 # Avoid crashes with gcc 4.4 in the v8 test suite.
114 '-fno-tree-vrp', 112 '-fno-tree-vrp',
115 ], 113 ],
116 }], 114 }],
117 ], 115 ],
118 }], 116 }],
119 ['OS=="freebsd" or OS=="openbsd"', { 117 ['OS=="freebsd" or OS=="openbsd"', {
120 'cflags': [ '-I/usr/local/include' ], 118 'cflags': [ '-I/usr/local/include' ],
121 }], 119 }],
122 ['OS=="mac"', { 120 ['OS=="mac"', {
(...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after
740 ], 738 ],
741 'conditions': [ 739 'conditions': [
742 ['OS=="win"', { 740 ['OS=="win"', {
743 # This could be gotten by not setting chromium_code, if that's OK. 741 # This could be gotten by not setting chromium_code, if that's OK.
744 'defines': ['_CRT_SECURE_NO_WARNINGS'], 742 'defines': ['_CRT_SECURE_NO_WARNINGS'],
745 }], 743 }],
746 ], 744 ],
747 }, 745 },
748 ], 746 ],
749 } 747 }
OLDNEW
« no previous file with comments | « src/x64/assembler-x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698