From 9bb1b4995b8825944531d495262a0bb049a45f3e Mon Sep 17 00:00:00 2001 From: Gaetan Nadon Date: Thu, 8 Apr 2010 13:21:52 -0400 Subject: config: remove redundant compiler flags These are available using --enable-strict-compilation Use same configure option as all x.org modules Only GCC was covered, not SUNCC or INTELCC Introduced in commit 85397a4ef7a3a13f7e2940cb0e5c2fdbfea4c695 Signed-off-by: Gaetan Nadon --- configure.ac | 4 ---- src/Makefile.am | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index 9daadc6..51376c9 100644 --- a/configure.ac +++ b/configure.ac @@ -45,10 +45,6 @@ AC_DISABLE_STATIC AC_PROG_LIBTOOL AC_PROG_CC -if test "x$GCC" = "xyes"; then - CFLAGS="$CFLAGS -Wall -pedantic" -fi - AH_TOP([#include "xorg-server.h"]) AC_ARG_WITH(xorg-module-dir, diff --git a/src/Makefile.am b/src/Makefile.am index 114f8e9..bf3a03a 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -23,7 +23,7 @@ # -avoid-version prevents gratuitous .0.0.0 version numbers on the end # _ladir passes a dummy rpath to libtool so the thing will actually link # TODO: -nostdlib/-Bstatic/-lgcc platform magic, not installing the .a, etc. -AM_CFLAGS = @XORG_CFLAGS@ +AM_CFLAGS = $(XORG_CFLAGS) $(CWARNFLAGS) tseng_drv_la_LTLIBRARIES = tseng_drv.la tseng_drv_la_LDFLAGS = -module -avoid-version tseng_drv_ladir = @moduledir@/drivers -- cgit v1.2.3