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'): |