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

Side by Side Diff: SConstruct

Issue 1658006: Fix arm simulator build - arm flags must be a list when compiling for arm whe... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 8 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 | 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 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 # ARM_TARGET_LIB is the path to the dynamic library to use on the target 45 # ARM_TARGET_LIB is the path to the dynamic library to use on the target
46 # machine if cross-compiling to an arm machine. You will also need to set 46 # machine if cross-compiling to an arm machine. You will also need to set
47 # the additional cross-compiling environment variables to the cross compiler. 47 # the additional cross-compiling environment variables to the cross compiler.
48 ARM_TARGET_LIB = os.environ.get('ARM_TARGET_LIB') 48 ARM_TARGET_LIB = os.environ.get('ARM_TARGET_LIB')
49 if ARM_TARGET_LIB: 49 if ARM_TARGET_LIB:
50 ARM_LINK_FLAGS = ['-Wl,-rpath=' + ARM_TARGET_LIB + '/lib:' + 50 ARM_LINK_FLAGS = ['-Wl,-rpath=' + ARM_TARGET_LIB + '/lib:' +
51 ARM_TARGET_LIB + '/usr/lib', 51 ARM_TARGET_LIB + '/usr/lib',
52 '-Wl,--dynamic-linker=' + ARM_TARGET_LIB + 52 '-Wl,--dynamic-linker=' + ARM_TARGET_LIB +
53 '/lib/ld-linux.so.3'] 53 '/lib/ld-linux.so.3']
54 else: 54 else:
55 ARM_LINK_FLAGS = "" 55 ARM_LINK_FLAGS = []
56 56
57 # TODO: Sort these issues out properly but as a temporary solution for gcc 4.4 57 # TODO: Sort these issues out properly but as a temporary solution for gcc 4.4
58 # on linux we need these compiler flags to avoid crashes in the v8 test suite 58 # on linux we need these compiler flags to avoid crashes in the v8 test suite
59 # and avoid dtoa.c strict aliasing issues 59 # and avoid dtoa.c strict aliasing issues
60 if os.environ.get('GCC_VERSION') == '44': 60 if os.environ.get('GCC_VERSION') == '44':
61 GCC_EXTRA_CCFLAGS = ['-fno-tree-vrp', '-fno-strict-aliasing'] 61 GCC_EXTRA_CCFLAGS = ['-fno-tree-vrp', '-fno-strict-aliasing']
62 GCC_DTOA_EXTRA_CCFLAGS = [] 62 GCC_DTOA_EXTRA_CCFLAGS = []
63 else: 63 else:
64 GCC_EXTRA_CCFLAGS = [] 64 GCC_EXTRA_CCFLAGS = []
65 GCC_DTOA_EXTRA_CCFLAGS = [] 65 GCC_DTOA_EXTRA_CCFLAGS = []
(...skipping 1067 matching lines...) Expand 10 before | Expand all | Expand 10 after
1133 # version of scons. Also, there's a bug in some revisions that 1133 # version of scons. Also, there's a bug in some revisions that
1134 # doesn't allow this flag to be set, so we swallow any exceptions. 1134 # doesn't allow this flag to be set, so we swallow any exceptions.
1135 # Lovely. 1135 # Lovely.
1136 try: 1136 try:
1137 SetOption('warn', 'no-deprecated') 1137 SetOption('warn', 'no-deprecated')
1138 except: 1138 except:
1139 pass 1139 pass
1140 1140
1141 1141
1142 Build() 1142 Build()
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