From efaccb3d6ab7abc459681e27b6c9b2d8119333eb Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Sat, 11 Oct 2008 20:21:06 +0200 Subject: Makefile: enable compilation on uclibc Original-patch-by: Natanael Copa Signed-off-by: Lars Hjemli --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 3ee2a59..3c27422 100644 --- a/Makefile +++ b/Makefile @@ -93,6 +93,9 @@ CFLAGS += -DCGIT_CONFIG='"$(CGIT_CONFIG)"' CFLAGS += -DCGIT_SCRIPT_NAME='"$(CGIT_SCRIPT_NAME)"' CFLAGS += -DCGIT_CACHE_ROOT='"$(CACHE_ROOT)"' +ifdef NO_ICONV + CFLAGS += -DNO_ICONV +endif cgit: $(OBJECTS) libgit $(QUIET_CC)$(CC) $(CFLAGS) $(LDFLAGS) -o cgit $(OBJECTS) $(EXTLIBS) -- cgit v1.2.3-57-g22cb