[Add] -Wextra to debug build.
This commit is contained in:
parent
8976622b73
commit
94f12831d6
@ -26,7 +26,7 @@ CVORBIS =
|
||||
CGL =
|
||||
CFLAGS = $(CLUA) $(CPLUTO) $(CSDL) $(CXML) $(CTTF) $(CGL) $(CAL) $(CVORBIS) $(VERSION) -D$(OS) -fgnu89-inline
|
||||
ifdef DEBUG
|
||||
CFLAGS += -W -Wall -g3 -DDEBUG -DLUA_USE_APICHECK -std=c99
|
||||
CFLAGS += -W -Wall -Wextra -g3 -DDEBUG -DLUA_USE_APICHECK -std=c99
|
||||
else
|
||||
CFLAGS += -O2 -funroll-loops -pipe -std=c99
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user