shithub: choc

Download patch

ref: 3b747fcb62f9b3e5ffd9aec2f39c9ecc9f9fc5c8
parent: d7ef9e1512b2a7db8cde69124fcf60bd8b912a0e
author: Simon Howard <[email protected]>
date: Tue Sep 19 19:24:29 EDT 2006

Turn on -Wall as well.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 625

--- a/configure.in
+++ b/configure.in
@@ -8,7 +8,7 @@
 
 if test "$GCC" = "yes"
 then
-        CFLAGS="-O3 $orig_CFLAGS -g"
+        CFLAGS="-O3 -g -Wall $orig_CFLAGS"
 fi
 
 AM_PATH_SDL(1.1.3)
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -3,7 +3,7 @@
 
 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                              \