foxygit / doom Log in
commit 3b747fcb62f9b3e5ffd9aec2f39c9ecc9f9fc5c8
Author:     Simon Howard <fraggle@gmail.com>
AuthorDate: Tue Sep 19 23:24:29 2006 +0000
Commit:     Simon Howard <fraggle@gmail.com>
CommitDate: Tue Sep 19 23:24:29 2006 +0000

    Turn on -Wall as well.

    Subversion-branch: /trunk/chocolate-doom
    Subversion-revision: 625
---
 configure.in    | 2 +-
 src/Makefile.am | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.in b/configure.in
index 29ac20d9..a515fcca 100644
--- a/configure.in
+++ b/configure.in
@@ -8,7 +8,7 @@ AC_PROG_RANLIB

 if test "$GCC" = "yes"
 then
-        CFLAGS="-O3 $orig_CFLAGS -g"
+        CFLAGS="-O3 -g -Wall $orig_CFLAGS"
 fi

 AM_PATH_SDL(1.1.3)
diff --git a/src/Makefile.am b/src/Makefile.am
index c0426008..f2a635e6 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -3,7 +3,7 @@ gamesdir = $(prefix)/games

 games_PROGRAMS = chocolate-doom chocolate-server

-AM_CFLAGS = -I../textscreen @SDL_CFLAGS@ @SDLMIXER_CFLAGS@ @SDLNET_CFLAGS@ -Wall
+AM_CFLAGS = -I../textscreen @SDL_CFLAGS@ @SDLMIXER_CFLAGS@ @SDLNET_CFLAGS@

 DEDSERV_FILES=\
 d_dedicated.c                              \