Bug 1118149 - Mark js/src as FAIL_ON_WARNINGS for gcc and clang. r=jorendorff

This commit is contained in:
Chris Peterson 2014-12-14 22:10:10 -08:00
parent fcf18e77cd
commit 410b3be427
3 changed files with 4 additions and 3 deletions

View File

@ -111,5 +111,5 @@ USE_LIBS += [
OS_LIBS += CONFIG['MOZ_ZLIB_LIBS']
if CONFIG['CLANG_CXX']:
if CONFIG['GNU_CXX']:
FAIL_ON_WARNINGS = True

View File

@ -519,3 +519,6 @@ if CONFIG['OS_ARCH'] == 'SunOS':
'nsl',
'socket',
]
if CONFIG['GNU_CXX']:
FAIL_ON_WARNINGS = True

View File

@ -4,8 +4,6 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
FAIL_ON_WARNINGS = True
GeckoProgram('xpcshell', linkage='dependent')
SOURCES += [