add workaround for zlib with cygwin build (v2)

This commit is contained in:
Gabriele Gristina
2019-06-29 14:46:33 +02:00
parent 9673dedebf
commit e86cbf426a
3 changed files with 16 additions and 4 deletions
-4
View File
@@ -178,12 +178,8 @@ endif
## because ZLIB
ifeq ($(USE_SYSTEM_ZLIB),0)
ifeq ($(UNAME),CYGWIN)
CFLAGS_ZLIB += -Wno-implicit-fallthrough -UWIDECHAR
else
CFLAGS_ZLIB += -Wno-implicit-fallthrough
endif
endif
ifeq ($(DEBUG),0)
CFLAGS += -O2