misc: Revert remove -Werror
This reverts commit 6c997b633f.
This is so the develop branch gives warnings as errors.
Change-Id: I6c8c81d478dc11fb561748dd2f392103b2beff68
This commit is contained in:
@@ -447,6 +447,12 @@ for variant_path in variant_paths:
|
||||
conf.CheckLinkFlag(
|
||||
'-Wl,--thread-count=%d' % GetOption('num_jobs'))
|
||||
|
||||
# Treat warnings as errors but white list some warnings that we
|
||||
# want to allow (e.g., deprecation warnings).
|
||||
env.Append(CCFLAGS=['-Werror',
|
||||
'-Wno-error=deprecated-declarations',
|
||||
'-Wno-error=deprecated',
|
||||
])
|
||||
|
||||
else:
|
||||
error('\n'.join((
|
||||
|
||||
Reference in New Issue
Block a user