diff options
context:
space:
mode:
authorHarley Laue <losinggeneration@gmail.com>
committerLars Hjemli <hjemli@gmail.com>
commit
parent
tree
download
Add LDFLAGS to makefile.
This will allow for creating static builds which is useful for chrooted environments. Signed-off-by: Harley Laue <losinggeneration@gmail.com> Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r--Makefile2
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