mirror of
https://github.com/mirror/make.git
synced 2025-03-29 13:31:09 +08:00
(CFLAGS): Add some warnings.
This commit is contained in:
parent
8cfdca3e72
commit
a4e66c61c0
@ -125,7 +125,8 @@ prog := make
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq "$(findstring gcc,$(CC))" ""
|
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
|
else
|
||||||
CFLAGS = -g
|
CFLAGS = -g
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user