Commit 8011587ef34d98398b60be8fcd6c6ecf499c0676

Parents: ed7ff095ca467cdc4c8a1a1459847d68e50c9b91 , efaccb3d6ab7abc459681e27b6c9b2d8119333eb

From: Lars Hjemli <hjemli@gmail.com>
Date: Sat Oct 11 20:21:17 2008 +0700

Merge branch 'stable'
* stable:
  Makefile: enable compilation on uclibc

Stats

Makefile +3/-0

Changeset

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
diff --git a/Makefile b/Makefile
index 3ee2a59e5ddf6018d2bd43ba1d18ea6c1595c360..3c27422f94879c357418811d0fa8e153c35b90aa 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)