4ca450deac
Release Notes: https://sourceforge.net/p/sevenzip/discussion/45797/thread/3f550826d8/#e950 Manually adjust: - 7-zip-flags.patch Automatically refresh: - 7-zip-musl.patch Signed-off-by: Nick Hainke <vincent@systemli.org>
21 lines
578 B
Diff
21 lines
578 B
Diff
--- a/CPP/7zip/7zip_gcc.mak
|
|
+++ b/CPP/7zip/7zip_gcc.mak
|
|
@@ -24,7 +24,7 @@ PROGPATH_STATIC = $(O)/$(PROG)s
|
|
|
|
|
|
ifneq ($(CC), xlc)
|
|
-CFLAGS_WARN_WALL = -Werror -Wall -Wextra
|
|
+CFLAGS_WARN_WALL = -Wall -Wextra
|
|
endif
|
|
|
|
# for object file
|
|
@@ -32,7 +32,7 @@ endif
|
|
# -save-temps
|
|
CFLAGS_BASE_LIST = -c
|
|
# CFLAGS_BASE_LIST = -S
|
|
-CFLAGS_BASE = -O2 $(CFLAGS_BASE_LIST) $(CFLAGS_WARN_WALL) $(CFLAGS_WARN) \
|
|
+CFLAGS_BASE = $(CFLAGS_BASE_LIST) $(CFLAGS_WARN_WALL) $(CFLAGS_WARN) -D_GNU_SOURCE \
|
|
-DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \
|
|
-fPIC
|
|
|