mirror of
https://github.com/mirror/make.git
synced 2025-01-01 07:50:52 +08:00
(CFLAGS): Add some warnings.
This commit is contained in:
parent
8cfdca3e72
commit
a4e66c61c0
@ -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 New Issue
Block a user