mirror of
https://salsa.debian.org/srivasta/make-dfsg.git
synced 2024-12-26 14:00:56 +00:00
(CFLAGS): Add some warnings.
This commit is contained in:
parent
8cfdca3e72
commit
a4e66c61c0
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue