]> gitweb.ps.run Git - ps-cgit/commitdiff
Merge branch 'stable'
authorLars Hjemli <hjemli@gmail.com>
Sat, 11 Oct 2008 18:21:17 +0000 (20:21 +0200)
committerLars Hjemli <hjemli@gmail.com>
Sat, 11 Oct 2008 18:21:17 +0000 (20:21 +0200)
* stable:
  Makefile: enable compilation on uclibc

Makefile

index 3ee2a59e5ddf6018d2bd43ba1d18ea6c1595c360..3c27422f94879c357418811d0fa8e153c35b90aa 100644 (file)
--- 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)