mirror of
https://git.zx2c4.com/cgit
synced 2024-11-22 16:38:42 +00:00
Makefile: enable compilation on uclibc
Original-patch-by: Natanael Copa <natanael.copa@gmail.com> Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
parent
cb1cc0d82d
commit
efaccb3d6a
3
Makefile
3
Makefile
@ -93,6 +93,9 @@ CFLAGS += -DCGIT_CONFIG='"$(CGIT_CONFIG)"'
|
|||||||
CFLAGS += -DCGIT_SCRIPT_NAME='"$(CGIT_SCRIPT_NAME)"'
|
CFLAGS += -DCGIT_SCRIPT_NAME='"$(CGIT_SCRIPT_NAME)"'
|
||||||
CFLAGS += -DCGIT_CACHE_ROOT='"$(CACHE_ROOT)"'
|
CFLAGS += -DCGIT_CACHE_ROOT='"$(CACHE_ROOT)"'
|
||||||
|
|
||||||
|
ifdef NO_ICONV
|
||||||
|
CFLAGS += -DNO_ICONV
|
||||||
|
endif
|
||||||
|
|
||||||
cgit: $(OBJECTS) libgit
|
cgit: $(OBJECTS) libgit
|
||||||
$(QUIET_CC)$(CC) $(CFLAGS) $(LDFLAGS) -o cgit $(OBJECTS) $(EXTLIBS)
|
$(QUIET_CC)$(CC) $(CFLAGS) $(LDFLAGS) -o cgit $(OBJECTS) $(EXTLIBS)
|
||||||
|
Loading…
Reference in New Issue
Block a user