From 06e14dc61cf36c146f04de91497d2fe866c46f5e Mon Sep 17 00:00:00 2001 From: Harley Laue Date: Thu, 18 Sep 2008 21:06:18 -0500 Subject: Add LDFLAGS to makefile. This will allow for creating static builds which is useful for chrooted environments. Signed-off-by: Harley Laue Signed-off-by: Lars Hjemli --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 302ff4c..2fe537e 100644 --- a/Makefile +++ b/Makefile @@ -95,7 +95,7 @@ CFLAGS += -DCGIT_CACHE_ROOT='"$(CACHE_ROOT)"' cgit: $(OBJECTS) libgit - $(QUIET_CC)$(CC) $(CFLAGS) -o cgit $(OBJECTS) $(EXTLIBS) + $(QUIET_CC)$(CC) $(CFLAGS) $(LDFLAGS) -o cgit $(OBJECTS) $(EXTLIBS) cgit.o: VERSION -- cgit v1.2.3-57-g22cb