aports

Custom Alpine Linux aports

git clone git://git.lin.moe/aports.git

 1diff --git a/CPP/7zip/7zip_gcc.mak b/CPP/7zip/7zip_gcc.mak
 2index a8eb6e3..7a16e9e 100755
 3--- a/CPP/7zip/7zip_gcc.mak
 4+++ b/CPP/7zip/7zip_gcc.mak
 5@@ -24,7 +24,7 @@ PROGPATH_STATIC = $(O)/$(PROG)s
 6 
 7 
 8 ifneq ($(CC), xlc)
 9-CFLAGS_WARN_WALL = -Werror -Wall -Wextra
10+CFLAGS_WARN_WALL = -Wall -Wextra
11 endif
12 
13 # for object file
14@@ -45,7 +45,7 @@ CFLAGS_DEBUG = -g
15 else
16 CFLAGS_DEBUG = -DNDEBUG
17 ifneq ($(CC), $(CROSS_COMPILE)clang)
18-LFLAGS_STRIP = -s
19+LFLAGS_STRIP =
20 endif
21 endif
22 
23@@ -50,7 +50,7 @@ endif
24 endif
25 
26 # CFLAGS_BASE_LIST = -S
27-CFLAGS_BASE = -O2 $(CFLAGS_BASE_LIST) $(CFLAGS_WARN_WALL) $(CFLAGS_WARN) \
28+CFLAGS_BASE = $(CFLAGS_BASE_LIST) $(CFLAGS_WARN_WALL) $(CFLAGS_WARN) \
29  $(CFLAGS_DEBUG) -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \
30  -fPIC
31 
32@@ -169,7 +169,7 @@ endif
33 
34 
35 
36-CFLAGS = $(MY_ARCH_2) $(LOCAL_FLAGS) $(CFLAGS_BASE2) $(CFLAGS_BASE) $(FLAGS_FLTO) $(CC_SHARED) -o $@
37+CFLAGS += $(MY_ARCH_2) $(LOCAL_FLAGS) $(CFLAGS_BASE2) $(CFLAGS_BASE) $(FLAGS_FLTO) $(CC_SHARED) -o $@
38 
39 
40 ifdef IS_MINGW
41@@ -1343,7 +1343,7 @@ predef_cc:
42 	$(CC) $(CFLAGS) -E $(SHOW_PREDEF)  ../../../../C/CpuArch.c > predef_cc_log
43 #	$(CC) $(CFLAGS) -E -dM -  < /dev/null
44 predef_cxx:
45-	$(CXX) $(CFLAGS) -E $(SHOW_PREDEF) ../../../Common/CrcReg.cpp  > predef_cxx_log
46+	$(CXX) $(CXXFLAGS) -E $(SHOW_PREDEF) ../../../Common/CrcReg.cpp  > predef_cxx_log
47 
48 predef: predef_cc predef_cxx
49