From bfb24584f5b31ca7f69385593e63ca693a17460b Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Fri, 11 Nov 2005 15:07:15 +0000 Subject: [PATCH] - add -Wimplicit -Wstrict-prototypes CFLAGS again - remove -pipe. not needed IMO. --- code/unix/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/unix/Makefile b/code/unix/Makefile index ff72f32d..43083d11 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)