Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(117)

Unified Diff: SConstruct

Issue 6816005: Add -Werror compile flag. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/theme.git@master
Patch Set: Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: SConstruct
diff --git a/SConstruct b/SConstruct
index db4ab371e8a38676c92bb5d60e2caa0283690e1c..1f5fbe78a334a11b502f0373bc69c5f15d8ba84b 100644
--- a/SConstruct
+++ b/SConstruct
@@ -15,7 +15,7 @@ for key in Split('CC CXX AR RANLIB LD NM CFLAGS CCFLAGS'):
value = os.environ.get(key)
if value != None:
env[key] = Split(value)
-env['CCFLAGS'] += ['-fPIC', '-fno-exceptions', '-Wall']
+env['CCFLAGS'] += ['-fPIC', '-fno-exceptions', '-Wall', '-Werror']
# Fix issue with scons not passing some vars through the environment.
for key in Split('PKG_CONFIG_LIBDIR PKG_CONFIG_PATH SYSROOT'):
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698