Enable -Werror in launch control builds
authorPyry Haulos <phaulos@google.com>
Tue, 9 Aug 2016 18:31:34 +0000 (11:31 -0700)
committerPyry Haulos <phaulos@google.com>
Tue, 9 Aug 2016 18:31:34 +0000 (11:31 -0700)
Change-Id: If9fe40a3d845e1081f9a433dae13d90ca5354f83

scripts/launchcontrol_build.py

index 676487a..83f5403 100644 (file)
@@ -40,7 +40,7 @@ class LaunchControlConfig:
 
 # This is a bit silly, but CMake needs to know the word width prior to
 # parsing the project files, hence cannot use our own defines.
-X86_64_ARGS = ["-DDE_CPU=DE_CPU_X86_64", "-DCMAKE_C_FLAGS=-m64", "-DCMAKE_CXX_FLAGS=-m64"]
+X86_64_ARGS = ["-DDE_CPU=DE_CPU_X86_64", "-DCMAKE_C_FLAGS=-m64 -Werror", "-DCMAKE_CXX_FLAGS=-m64 -Werror"]
 
 BUILD_CONFIGS = {
        "gcc-x86_64-x11_glx":   LaunchControlConfig(X86_64_ARGS + ["-DDEQP_TARGET=x11_glx"], False),