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:
evan@chromium.org 2012-01-25 18:32:31 +00:00
Родитель fd65048d52
Коммит faabbc9b1c
1 изменённых файлов: 1 добавлений и 7 удалений

Просмотреть файл

@ -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%': '',
}],
],
'werror%': '-Werror',
},
'defines': [
'_FILE_OFFSET_BITS=64',