(CFLAGS): Add some warnings.

This commit is contained in:
Roland McGrath 1995-08-01 18:48:58 +00:00
parent 8cfdca3e72
commit a4e66c61c0

View file

@ -125,7 +125,8 @@ prog := make
endif
ifneq "$(findstring gcc,$(CC))" ""
CFLAGS = -g -W -Wunused -Wpointer-arith -Wreturn-type -Wswitch
CFLAGS = -g -Wall -Wtraditional -Wid-clash-31 -Wpointer-arith \
-Wbad-function-cast -Wconversion
else
CFLAGS = -g
endif