[Openchrome-devel] [PATCH] Treat all build warnings as errors

Xavier Bachelot xavier at bachelot.org
Thu Aug 4 12:33:45 UTC 2016


Signed-off-by: Xavier Bachelot <xavier at bachelot.org>
---
I don't know my way through autotools very well, so not sure this is the 
best way, but it works...

  src/Makefile.am | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 82224d4..6ff7e31 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -29,7 +29,7 @@ SUBDIRS = xvmc
  BUILT_SOURCES = version.h
  EXTRA_DIST = version.h
  CONFIG_CLEAN_FILES= version.h
-AM_CFLAGS = @XORG_CFLAGS@ @LIBUDEV_CFLAGS@ @DRI_CFLAGS@
+AM_CFLAGS = @XORG_CFLAGS@ @LIBUDEV_CFLAGS@ @DRI_CFLAGS@ -Werror
  openchrome_drv_la_LTLIBRARIES = openchrome_drv.la
  openchrome_drv_la_LDFLAGS = -module -avoid-version @LIBUDEV_LIBS@
  openchrome_drv_ladir = @moduledir@/drivers
-- 
2.7.4



More information about the Openchrome-devel mailing list