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

Side by Side Diff: SConstruct

Issue 7400023: fix -Wunused-but-set-variable for gcc-4.6 on x64 (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: without valgrind changes Created 9 years, 5 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/builtins.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 2011 the V8 project authors. All rights reserved. 1 # Copyright 2011 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 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 CCTEST_EXTRA_FLAGS = { 391 CCTEST_EXTRA_FLAGS = {
392 'all': { 392 'all': {
393 'CPPPATH': [join(root_dir, 'src')], 393 'CPPPATH': [join(root_dir, 'src')],
394 'library:shared': { 394 'library:shared': {
395 'CPPDEFINES': ['USING_V8_SHARED'] 395 'CPPDEFINES': ['USING_V8_SHARED']
396 }, 396 },
397 }, 397 },
398 'gcc': { 398 'gcc': {
399 'all': { 399 'all': {
400 'LIBPATH': [abspath('.')], 400 'LIBPATH': [abspath('.')],
401 'CCFLAGS': ['$DIALECTFLAGS', '$WARNINGFLAGS'], 401 'CCFLAGS': ['$DIALECTFLAGS', '$WARNINGFLAGS',
402 '-Wno-unused-but-set-variable'],
402 'CXXFLAGS': ['-fno-rtti', '-fno-exceptions'], 403 'CXXFLAGS': ['-fno-rtti', '-fno-exceptions'],
403 'LINKFLAGS': ['$CCFLAGS'], 404 'LINKFLAGS': ['$CCFLAGS'],
404 }, 405 },
405 'os:linux': { 406 'os:linux': {
406 'LIBS': ['pthread'], 407 'LIBS': ['pthread'],
407 }, 408 },
408 'os:macos': { 409 'os:macos': {
409 'LIBS': ['pthread'], 410 'LIBS': ['pthread'],
410 }, 411 },
411 'os:freebsd': { 412 'os:freebsd': {
(...skipping 1063 matching lines...) Expand 10 before | Expand all | Expand 10 after
1475 # version of scons. Also, there's a bug in some revisions that 1476 # version of scons. Also, there's a bug in some revisions that
1476 # doesn't allow this flag to be set, so we swallow any exceptions. 1477 # doesn't allow this flag to be set, so we swallow any exceptions.
1477 # Lovely. 1478 # Lovely.
1478 try: 1479 try:
1479 SetOption('warn', 'no-deprecated') 1480 SetOption('warn', 'no-deprecated')
1480 except: 1481 except:
1481 pass 1482 pass
1482 1483
1483 1484
1484 Build() 1485 Build()
OLDNEW
« no previous file with comments | « no previous file | src/builtins.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698