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

Side by Side Diff: SConstruct

Issue 6123007: Fixes needed to compile on gcc-4.4.1 on ARM. It is still necessary... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/arm/builtins-arm.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2010 the V8 project authors. All rights reserved. 1 # Copyright 2010 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 '-mthumb-interwork', 65 '-mthumb-interwork',
66 '-funwind-tables', 66 '-funwind-tables',
67 '-fstack-protector', 67 '-fstack-protector',
68 '-fno-short-enums', 68 '-fno-short-enums',
69 '-fmessage-length=0', 69 '-fmessage-length=0',
70 '-finline-functions', 70 '-finline-functions',
71 '-fno-inline-functions-called-once', 71 '-fno-inline-functions-called-once',
72 '-fgcse-after-reload', 72 '-fgcse-after-reload',
73 '-frerun-cse-after-loop', 73 '-frerun-cse-after-loop',
74 '-frename-registers', 74 '-frename-registers',
75 '-fomit-frame-pointer',
76 '-finline-limit=64', 75 '-finline-limit=64',
77 '-DCAN_USE_VFP_INSTRUCTIONS=1', 76 '-DCAN_USE_VFP_INSTRUCTIONS=1',
78 '-DCAN_USE_ARMV7_INSTRUCTIONS=1', 77 '-DCAN_USE_ARMV7_INSTRUCTIONS=1',
79 '-DCAN_USE_UNALIGNED_ACCESSES=1', 78 '-DCAN_USE_UNALIGNED_ACCESSES=1',
80 '-MD'] 79 '-MD']
81 80
82 ANDROID_INCLUDES = [ANDROID_TOP + '/bionic/libc/arch-arm/include', 81 ANDROID_INCLUDES = [ANDROID_TOP + '/bionic/libc/arch-arm/include',
83 ANDROID_TOP + '/bionic/libc/include', 82 ANDROID_TOP + '/bionic/libc/include',
84 ANDROID_TOP + '/bionic/libstdc++/include', 83 ANDROID_TOP + '/bionic/libstdc++/include',
85 ANDROID_TOP + '/bionic/libc/kernel/common', 84 ANDROID_TOP + '/bionic/libc/kernel/common',
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 'CXXFLAGS': ['-fvisibility=hidden'] 135 'CXXFLAGS': ['-fvisibility=hidden']
137 }, 136 },
138 'mode:debug': { 137 'mode:debug': {
139 'CCFLAGS': ['-g', '-O0'], 138 'CCFLAGS': ['-g', '-O0'],
140 'CPPDEFINES': ['ENABLE_DISASSEMBLER', 'DEBUG'], 139 'CPPDEFINES': ['ENABLE_DISASSEMBLER', 'DEBUG'],
141 'os:android': { 140 'os:android': {
142 'CCFLAGS': ['-mthumb'] 141 'CCFLAGS': ['-mthumb']
143 } 142 }
144 }, 143 },
145 'mode:release': { 144 'mode:release': {
146 'CCFLAGS': ['-O3', '-fomit-frame-pointer', '-fdata-sections', 145 'CCFLAGS': ['-O2', '-fdata-sections',
147 '-ffunction-sections'], 146 '-ffunction-sections'],
148 'os:android': { 147 'os:android': {
149 'CCFLAGS': ['-mthumb', '-Os'], 148 'CCFLAGS': ['-mthumb'],
150 'CPPDEFINES': ['SK_RELEASE', 'NDEBUG'] 149 'CPPDEFINES': ['SK_RELEASE', 'NDEBUG']
151 } 150 }
152 }, 151 },
153 'os:linux': { 152 'os:linux': {
154 'CCFLAGS': ['-ansi'] + GCC_EXTRA_CCFLAGS, 153 'CCFLAGS': ['-ansi'] + GCC_EXTRA_CCFLAGS,
155 'library:shared': { 154 'library:shared': {
156 'CPPDEFINES': ['V8_SHARED'], 155 'CPPDEFINES': ['V8_SHARED'],
157 'LIBS': ['pthread'] 156 'LIBS': ['pthread']
158 } 157 }
159 }, 158 },
(...skipping 998 matching lines...) Expand 10 before | Expand all | Expand 10 after
1158 # version of scons. Also, there's a bug in some revisions that 1157 # version of scons. Also, there's a bug in some revisions that
1159 # doesn't allow this flag to be set, so we swallow any exceptions. 1158 # doesn't allow this flag to be set, so we swallow any exceptions.
1160 # Lovely. 1159 # Lovely.
1161 try: 1160 try:
1162 SetOption('warn', 'no-deprecated') 1161 SetOption('warn', 'no-deprecated')
1163 except: 1162 except:
1164 pass 1163 pass
1165 1164
1166 1165
1167 Build() 1166 Build()
OLDNEW
« no previous file with comments | « no previous file | src/arm/builtins-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698