From 60c3f5f7e9482d29f043504860319aeead7b9a69 Mon Sep 17 00:00:00 2001 From: Gaetan Nadon Date: Thu, 17 Nov 2011 09:32:24 -0500 Subject: Remove duplicate warning variable and werror option Use already existing: --enable-strict-compilation Enable all warnings from compiler and make them errors (default: disabled) which, byt the way was broken as it was not implemented in geode. Use already existing CWARNINGFLAGS variable, so there is no need to define GCC_WARNINGS. Both come from util-macros version 1.4 or later. http://cgit.freedesktop.org/xorg/util/macros/tree/xorg-macros.m4.in ?id=03b04a6b5d61aafbd2705f7d29e58e0c92553a4a If you configure with a later version of util-macros you may see new warnings appear as additional flags have been added over the years. You get better support for platforms/compiler differences. Signed-off-by: Gaetan Nadon --- ztv/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ztv/Makefile.am') diff --git a/ztv/Makefile.am b/ztv/Makefile.am index f4aaf1b..4e7b587 100644 --- a/ztv/Makefile.am +++ b/ztv/Makefile.am @@ -1,7 +1,7 @@ if BUILD_ZTV -AM_CFLAGS = $(XORG_CFLAGS) $(AMD_CFLAGS) +AM_CFLAGS = $(XORG_CFLAGS) $(CWARNFLAGS) $(AMD_CFLAGS) ztv_drv_la_LTLIBRARIES = ztv_drv.la ztv_drv_la_LDFLAGS = -module -avoid-version -- cgit v1.2.3