zlibWrapper: support for stricter gcc warnings

This commit is contained in:
inikep
2016-06-02 18:40:41 +02:00
parent 7cab86f647
commit 614fddee6a
4 changed files with 11 additions and 10 deletions
+2 -1
View File
@@ -18,7 +18,8 @@ endif
ZLIBWRAPPER_PATH = .
EXAMPLE_PATH = examples
CC = gcc
CFLAGS = $(LOC) -I../lib/common -I$(ZLIBDIR) -I$(ZLIBWRAPPER_PATH) -O3 -Wall -std=gnu89
CFLAGS = $(LOC) -I../lib/common -I$(ZLIBDIR) -I$(ZLIBWRAPPER_PATH) -O3 -std=gnu90
CFLAGS += -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wswitch-enum -Wstrict-prototypes -Wundef
LDFLAGS = $(LOC)
RM = rm -f