From 30ae71ca692d526aa1f2cdc728c119b1142154bf Mon Sep 17 00:00:00 2001 From: ludwig Date: Fri, 11 Nov 2005 15:07:15 +0000 Subject: - add -Wimplicit -Wstrict-prototypes CFLAGS again - remove -pipe. not needed IMO. git-svn-id: svn://svn.icculus.org/quake3/trunk@324 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/unix/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/unix/Makefile b/code/unix/Makefile index ff72f32..43083d1 100644 --- a/code/unix/Makefile +++ b/code/unix/Makefile @@ -113,7 +113,7 @@ ifeq ($(PLATFORM),linux) endif endif - BASE_CFLAGS = -pipe -Wall -fno-strict-aliasing + BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes ifeq ($(USE_SDL),1) BASE_CFLAGS += -DUSE_SDL_VIDEO=1 -DUSE_SDL_SOUND=1 $(shell sdl-config --cflags) @@ -212,7 +212,7 @@ ifeq ($(PLATFORM),mingw32) ARCH=x86 endif - BASE_CFLAGS = -pipe -Wall -fno-strict-aliasing + BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes DX_CFLAGS = -I$(DXSDK_DIR)/Include @@ -273,7 +273,7 @@ ifeq ($(PLATFORM),freebsd) endif #alpha test - BASE_CFLAGS = -pipe -Wall -fno-strict-aliasing + BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes GL_CFLAGS = -I/usr/X11R6/include @@ -382,7 +382,7 @@ ifeq ($(PLATFORM),SunOS) endif - BASE_CFLAGS = -pipe -Wall -fno-strict-aliasing + BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes ifeq ($(USE_SDL),1) BASE_CFLAGS += -DUSE_SDL_SOUND=1 $(shell sdl-config --cflags) -- cgit v1.2.3