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

Side by Side Diff: SConstruct

Issue 113897: Fix problems compiling on FreeBSD when using snapshot=on. ... Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 7 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 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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 'os:linux': { 121 'os:linux': {
122 'CCFLAGS': ['-ansi'] + GCC_EXTRA_CCFLAGS, 122 'CCFLAGS': ['-ansi'] + GCC_EXTRA_CCFLAGS,
123 'library:shared': { 123 'library:shared': {
124 'LIBS': ['pthread'] 124 'LIBS': ['pthread']
125 } 125 }
126 }, 126 },
127 'os:macos': { 127 'os:macos': {
128 'CCFLAGS': ['-ansi'], 128 'CCFLAGS': ['-ansi'],
129 }, 129 },
130 'os:freebsd': { 130 'os:freebsd': {
131 'CPPPATH' : ['/usr/local/include'],
132 'LIBPATH' : ['/usr/local/lib'],
131 'CCFLAGS': ['-ansi'], 133 'CCFLAGS': ['-ansi'],
132 }, 134 },
133 'os:win32': { 135 'os:win32': {
134 'CCFLAGS': ['-DWIN32'], 136 'CCFLAGS': ['-DWIN32'],
135 'CXXFLAGS': ['-DWIN32'], 137 'CXXFLAGS': ['-DWIN32'],
136 }, 138 },
137 'os:android': { 139 'os:android': {
138 'CPPDEFINES': ['ANDROID', '__ARM_ARCH_5__', '__ARM_ARCH_5T__', 140 'CPPDEFINES': ['ANDROID', '__ARM_ARCH_5__', '__ARM_ARCH_5T__',
139 '__ARM_ARCH_5E__', '__ARM_ARCH_5TE__'], 141 '__ARM_ARCH_5E__', '__ARM_ARCH_5TE__'],
140 'CCFLAGS': ANDROID_FLAGS, 142 'CCFLAGS': ANDROID_FLAGS,
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 265
264 MKSNAPSHOT_EXTRA_FLAGS = { 266 MKSNAPSHOT_EXTRA_FLAGS = {
265 'gcc': { 267 'gcc': {
266 'os:linux': { 268 'os:linux': {
267 'LIBS': ['pthread'], 269 'LIBS': ['pthread'],
268 }, 270 },
269 'os:macos': { 271 'os:macos': {
270 'LIBS': ['pthread'], 272 'LIBS': ['pthread'],
271 }, 273 },
272 'os:freebsd': { 274 'os:freebsd': {
273 'LIBS': ['pthread'], 275 'LIBS': ['execinfo', 'pthread']
274 }, 276 },
275 'os:win32': { 277 'os:win32': {
276 'LIBS': ['winmm', 'ws2_32'], 278 'LIBS': ['winmm', 'ws2_32'],
277 }, 279 },
278 }, 280 },
279 'msvc': { 281 'msvc': {
280 'all': { 282 'all': {
281 'CPPDEFINES': ['_HAS_EXCEPTIONS=0'], 283 'CPPDEFINES': ['_HAS_EXCEPTIONS=0'],
282 'LIBS': ['winmm', 'ws2_32'] 284 'LIBS': ['winmm', 'ws2_32']
283 } 285 }
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 'LIBPATH': ['.'], 377 'LIBPATH': ['.'],
376 'CCFLAGS': ['-fno-rtti', '-fno-exceptions'] 378 'CCFLAGS': ['-fno-rtti', '-fno-exceptions']
377 }, 379 },
378 'os:linux': { 380 'os:linux': {
379 'LIBS': ['pthread'], 381 'LIBS': ['pthread'],
380 }, 382 },
381 'os:macos': { 383 'os:macos': {
382 'LIBS': ['pthread'], 384 'LIBS': ['pthread'],
383 }, 385 },
384 'os:freebsd': { 386 'os:freebsd': {
387 'LIBPATH' : ['/usr/local/lib'],
385 'LIBS': ['execinfo', 'pthread'] 388 'LIBS': ['execinfo', 'pthread']
386 }, 389 },
387 'os:win32': { 390 'os:win32': {
388 'LIBS': ['winmm', 'ws2_32'] 391 'LIBS': ['winmm', 'ws2_32']
389 }, 392 },
390 'os:android': { 393 'os:android': {
391 'CPPDEFINES': ['ANDROID', '__ARM_ARCH_5__', '__ARM_ARCH_5T__', 394 'CPPDEFINES': ['ANDROID', '__ARM_ARCH_5__', '__ARM_ARCH_5T__',
392 '__ARM_ARCH_5E__', '__ARM_ARCH_5TE__'], 395 '__ARM_ARCH_5E__', '__ARM_ARCH_5TE__'],
393 'CCFLAGS': ANDROID_FLAGS, 396 'CCFLAGS': ANDROID_FLAGS,
394 'CPPPATH': ANDROID_INCLUDES, 397 'CPPPATH': ANDROID_INCLUDES,
(...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after
923 # version of scons. Also, there's a bug in some revisions that 926 # 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. 927 # doesn't allow this flag to be set, so we swallow any exceptions.
925 # Lovely. 928 # Lovely.
926 try: 929 try:
927 SetOption('warn', 'no-deprecated') 930 SetOption('warn', 'no-deprecated')
928 except: 931 except:
929 pass 932 pass
930 933
931 934
932 Build() 935 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