the repository which powers this website
Add LDFLAGS to makefile.
This will allow for creating static builds which is useful for chrooted environments. Signed-off-by: Harley Laue <[email protected]> Signed-off-by: Lars Hjemli <[email protected]>
Harley Laue 2008-09-20
parent dd80ef5 · commit 06e14dc
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 302ff4c1..2fe537eb 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