Better error handling with Linux privilege escalator.
[dcpomatic.git] / cscript
diff --git a/cscript b/cscript
index 052aa6c7c645b654109daf6b1138a45933630ecd..7f262bf81f8a8ed88f1964ef9468bea37a72d879 100644 (file)
--- a/cscript
+++ b/cscript
@@ -392,7 +392,7 @@ def dependencies(target, options):
 option_defaults = { "gui": True, "variant": None }
 
 def configure_options(target, options):
-    opt = ''
+    opt = ' --warnings-are-errors'
 
     if not (target.platform == 'linux' and target.distro == 'ubuntu' and target.version == '18.04'):
         # Currently we only build tests on Ubuntu 18.04