From db7c6fdeeaef9475458498e4cf09d6b1329e9aa3 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Tue, 5 Jan 2010 17:42:42 -0800 Subject: [PATCH] Remove GCC_WARNINGS now that XORG_CWARNFLAGS sets them for us Signed-off-by: Alan Coopersmith --- configure.ac | 7 ------- 1 file changed, 7 deletions(-) diff --git a/configure.ac b/configure.ac index 0da2838b..7f697269 100644 --- a/configure.ac +++ b/configure.ac @@ -379,13 +379,6 @@ XORG_WITH_LINT XORG_LINT_LIBRARY([X11]) LINT_FLAGS="${LINT_FLAGS} ${X11_CFLAGS} ${XPROTO_CFLAGS}" -if test "x$GCC" = "xyes"; then - GCC_WARNINGS="-Wall -Wpointer-arith -Wstrict-prototypes \ - -Wmissing-prototypes -Wmissing-declarations \ - -Wnested-externs -fno-strict-aliasing" - X11_CFLAGS="$GCC_WARNINGS $X11_CFLAGS" -fi - X11_DATADIR="${datadir}/X11" AC_DEFINE_DIR(X11_DATADIR, X11_DATADIR, [Location of libX11 data]) AC_SUBST(X11_DATADIR)