From 8011587ef34d98398b60be8fcd6c6ecf499c0676 Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Sat, 11 Oct 2008 18:21:17 +0000 Subject: Merge branch 'stable' * stable: Makefile: enable compilation on uclibc --- 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 v0.9.0.2