- add -Wimplicit -Wstrict-prototypes CFLAGS again

- remove -pipe. not needed IMO.
This commit is contained in:
Ludwig Nussel 2005-11-11 15:07:15 +00:00
parent e905b369c3
commit bfb24584f5

View file

@ -113,7 +113,7 @@ ifeq ($(PLATFORM),linux)
endif endif
endif endif
BASE_CFLAGS = -pipe -Wall -fno-strict-aliasing BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes
ifeq ($(USE_SDL),1) ifeq ($(USE_SDL),1)
BASE_CFLAGS += -DUSE_SDL_VIDEO=1 -DUSE_SDL_SOUND=1 $(shell sdl-config --cflags) BASE_CFLAGS += -DUSE_SDL_VIDEO=1 -DUSE_SDL_SOUND=1 $(shell sdl-config --cflags)
@ -212,7 +212,7 @@ ifeq ($(PLATFORM),mingw32)
ARCH=x86 ARCH=x86
endif endif
BASE_CFLAGS = -pipe -Wall -fno-strict-aliasing BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes
DX_CFLAGS = -I$(DXSDK_DIR)/Include DX_CFLAGS = -I$(DXSDK_DIR)/Include
@ -273,7 +273,7 @@ ifeq ($(PLATFORM),freebsd)
endif #alpha test 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 GL_CFLAGS = -I/usr/X11R6/include
@ -382,7 +382,7 @@ ifeq ($(PLATFORM),SunOS)
endif endif
BASE_CFLAGS = -pipe -Wall -fno-strict-aliasing BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes
ifeq ($(USE_SDL),1) ifeq ($(USE_SDL),1)
BASE_CFLAGS += -DUSE_SDL_SOUND=1 $(shell sdl-config --cflags) BASE_CFLAGS += -DUSE_SDL_SOUND=1 $(shell sdl-config --cflags)