linux: don't make -Werror setting conditional on OS
People who need to adjust this should adjust it directly. Guessing just makes everything more confusing. Review URL: http://codereview.chromium.org/9288008 git-svn-id: http://src.chromium.org/svn/trunk/src/build@119092 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
Родитель
fd65048d52
Коммит
faabbc9b1c
|
@ -1664,13 +1664,7 @@
|
|||
# Enable -Werror by default, but put it in a variable so it can
|
||||
# be disabled in ~/.gyp/include.gypi on the valgrind builders.
|
||||
'variables': {
|
||||
'conditions': [
|
||||
['OS=="linux"', {
|
||||
'werror%': '-Werror',
|
||||
}, { # turn off -Werror on other Unices
|
||||
'werror%': '',
|
||||
}],
|
||||
],
|
||||
},
|
||||
'defines': [
|
||||
'_FILE_OFFSET_BITS=64',
|
||||
|
|
Загрузка…
Ссылка в новой задаче