aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lzma-old/patches/120-add-cflags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lzma-old/patches/120-add-cflags.patch')
-rw-r--r--tools/lzma-old/patches/120-add-cflags.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/lzma-old/patches/120-add-cflags.patch b/tools/lzma-old/patches/120-add-cflags.patch
new file mode 100644
index 0000000000..9022e7cd27
--- /dev/null
+++ b/tools/lzma-old/patches/120-add-cflags.patch
@@ -0,0 +1,11 @@
+--- a/C/7zip/Compress/LZMA_Lib/makefile
++++ b/C/7zip/Compress/LZMA_Lib/makefile
+@@ -2,7 +2,7 @@ PROG = liblzma.a
+ CXX = g++ -O3 -Wall
+ AR = ar
+ RM = rm -f
+-CFLAGS = -c -I ../../../
++CFLAGS += -c -I ../../../
+
+ OBJS = \
+ ZLib.o \