diff --git a/SConstruct b/SConstruct index 9b25b33783..4fe2f64366 100755 --- a/SConstruct +++ b/SConstruct @@ -447,12 +447,6 @@ 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((