Use new gcc flag -Wno-unused-but-set-variable only on linux.
TBR=fschneider@chromium.org
BUG=
TEST=
Review URL: http://codereview.chromium.org/7457018
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8689
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
'gcc': {
'all': {
'LIBPATH': [abspath('.')],
- 'CCFLAGS': ['$DIALECTFLAGS', '$WARNINGFLAGS',
- '-Wno-unused-but-set-variable'],
+ 'CCFLAGS': ['$DIALECTFLAGS', '$WARNINGFLAGS'],
'CXXFLAGS': ['-fno-rtti', '-fno-exceptions'],
'LINKFLAGS': ['$CCFLAGS'],
},
'os:linux': {
'LIBS': ['pthread'],
+ 'CCFLAGS': ['-Wno-unused-but-set-variable'],
},
'os:macos': {
'LIBS': ['pthread'],
-// Copyright 2006-2009, 2011 the V8 project authors. All rights reserved.
+// Copyright 2011 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met: