summaryrefslogtreecommitdiff
path: root/lib_generic/lzma/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib_generic/lzma/Makefile')
-rw-r--r--lib_generic/lzma/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib_generic/lzma/Makefile b/lib_generic/lzma/Makefile
index 3400cd9..2916f21 100644
--- a/lib_generic/lzma/Makefile
+++ b/lib_generic/lzma/Makefile
@@ -30,7 +30,9 @@ LIB = $(obj)liblzma.a
SOBJS =
-COBJS-$(CONFIG_LZMA) += LzmaDecode.o LzmaTools.o
+CFLAGS += -D_LZMA_PROB32 -I$(TOPDIR)/include/linux
+
+COBJS-$(CONFIG_LZMA) += LzmaDec.o LzmaTools.o
COBJS = $(COBJS-y)
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)