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

Side by Side Diff: SConstruct

Issue 118153: Change stack alignment on linux to 16 bytes to keep gcc 4.4 happy.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 6 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/platform-linux.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 2008 the V8 project authors. All rights reserved. 1 # Copyright 2008 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 26 matching lines...) Expand all
37 37
38 38
39 # ANDROID_TOP is the top of the Android checkout, fetched from the environment 39 # ANDROID_TOP is the top of the Android checkout, fetched from the environment
40 # variable 'TOP'. You will also need to set the CXX, CC, AR and RANLIB 40 # variable 'TOP'. You will also need to set the CXX, CC, AR and RANLIB
41 # environment variables to the cross-compiling tools. 41 # environment variables to the cross-compiling tools.
42 ANDROID_TOP = os.environ.get('TOP') 42 ANDROID_TOP = os.environ.get('TOP')
43 if ANDROID_TOP is None: 43 if ANDROID_TOP is None:
44 ANDROID_TOP="" 44 ANDROID_TOP=""
45 45
46 # TODO: Sort these issues out properly but as a temporary solution for gcc 4.4 46 # TODO: Sort these issues out properly but as a temporary solution for gcc 4.4
47 # on linux we need these compiler flags to avoid a mksnapshot segfault, avoid 47 # on linux we need these compiler flags to avoid crashes in the v8 test suite
48 # crashes in the v8 test suite and avoid dtoa.c strict aliasing issues 48 # and avoid dtoa.c strict aliasing issues
49 if os.environ.get('GCC_VERSION') == '44': 49 if os.environ.get('GCC_VERSION') == '44':
50 GCC_EXTRA_CCFLAGS = ['-fno-tree-vectorize', '-fno-tree-vrp'] 50 GCC_EXTRA_CCFLAGS = ['-fno-tree-vrp']
51 GCC_DTOA_EXTRA_CCFLAGS = ['-fno-strict-aliasing'] 51 GCC_DTOA_EXTRA_CCFLAGS = ['-fno-strict-aliasing']
52 else: 52 else:
53 GCC_EXTRA_CCFLAGS = [] 53 GCC_EXTRA_CCFLAGS = []
54 GCC_DTOA_EXTRA_CCFLAGS = [] 54 GCC_DTOA_EXTRA_CCFLAGS = []
55 55
56 ANDROID_FLAGS = ['-march=armv5te', 56 ANDROID_FLAGS = ['-march=armv5te',
57 '-mtune=xscale', 57 '-mtune=xscale',
58 '-msoft-float', 58 '-msoft-float',
59 '-fpic', 59 '-fpic',
60 '-mthumb-interwork', 60 '-mthumb-interwork',
(...skipping 862 matching lines...) Expand 10 before | Expand all | Expand 10 after
923 # version of scons. Also, there's a bug in some revisions that 923 # version of scons. Also, there's a bug in some revisions that
924 # doesn't allow this flag to be set, so we swallow any exceptions. 924 # doesn't allow this flag to be set, so we swallow any exceptions.
925 # Lovely. 925 # Lovely.
926 try: 926 try:
927 SetOption('warn', 'no-deprecated') 927 SetOption('warn', 'no-deprecated')
928 except: 928 except:
929 pass 929 pass
930 930
931 931
932 Build() 932 Build()
OLDNEW
« no previous file with comments | « no previous file | src/platform-linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698