1
0
mirror of https://github.com/upx/upx synced 2025-10-26 23:36:41 +08:00

Update CI to use lastest zlib. Update Makefile.

This commit is contained in:
Markus F.X.J. Oberhumer
2021-01-01 23:24:31 +01:00
parent 16af6e1a29
commit baa1ed9be3
4 changed files with 11 additions and 11 deletions

View File

@@ -61,7 +61,7 @@ LIBS += -lucl -lz
# LZMA from https://github.com/upx/upx-lzma-sdk
include $(top_srcdir)/src/stub/src/c/Makevars.lzma
# optional flags
# default flags that you can change or override
ifeq ($(BUILD_TYPE_DEBUG),1)
CXXFLAGS_OPTIMIZE ?= -O0 -g
else
@@ -85,7 +85,7 @@ mf.CXXFLAGS += $(CXXFLAGS_NO_DELETE_NULL_POINTER_CHECKS)
mf.CXXFLAGS += -fno-strict-aliasing -fno-strict-overflow
mf.CXXFLAGS += -funsigned-char
mf.CXXFLAGS += $(CXXFLAGS_SANITIZE)
mf.CXXFLAGS += -Wall -W -Wcast-align -Wcast-qual -Wmissing-declarations -Wpointer-arith -Wshadow -Wvla -Wwrite-strings
mf.CXXFLAGS += -Wall -Wextra -Wcast-align -Wcast-qual -Wmissing-declarations -Wpointer-arith -Wshadow -Wvla -Wwrite-strings
mf.CXXFLAGS += $(CXXFLAGS_WERROR)
# rules

View File

@@ -413,7 +413,7 @@ void show_version(int x)
fprintf(fp, "Copyright (C) 2000-2021 John F. Reiser\n");
fprintf(fp, "Copyright (C) 2002-2021 Jens Medoch\n");
#if (WITH_ZLIB)
fprintf(fp, "Copyright (C) 1995" "-2005 Jean-loup Gailly and Mark Adler\n");
fprintf(fp, "Copyright (C) 1995" "-2017 Jean-loup Gailly and Mark Adler\n");
#endif
#if (WITH_LZMA)
fprintf(fp, "Copyright (C) 1999" "-2006 Igor Pavlov\n");